You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Add ability to obtain ApplicationError details with type hint #1262
For users of deserialized ApplicationError, today we only offer the deserialized details in raw Python form (e.g. dicts and such). For ApplicationErrors that are deserialized, we should make the details property lazy, have a property for obtaining the raw details (that only works if raw details were set on create, i.e. in deserialization situations), and have a method that lets you access a detail by index and type hint.
I opened #2171 for this. It follows the design in the description: details is decoded when first read, raw_details holds the payloads, and detail(index, type_hint) returns one detail as the given type.
It also covers CancelledError, whose details are decoded the same way.
Activity
prateek11rai commentedon Nov 28, 2026
Note
🤖
claude-opus-5-5on behalf of PrateekI opened #2171 for this. It follows the design in the description:
detailsis decoded when first read,raw_detailsholds the payloads, anddetail(index, type_hint)returns one detail as the given type.It also covers
CancelledError, whose details are decoded the same way.