microsoft / microsoft/typespec
[http-client-python] consolidate error for DPG model serialization and deserialization
Open
emitter:client:python
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
coming from https://github.com/Azure/autorest.python/pull/2269#pullrequestreview-1751153410.
when deserializing, all exception will be wrapped with `DeserializationError`, but when creating models, the raw error will be exposed though it also contains sort of deserialization. it's better to standardize behavior for all kinds of serialization and deserialization exceptions.
Contributor guide
Assessment
This issue has not been assessed yet.