Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[http-client-python] consolidate error for DPG model serialization and deserialization #5597

Open
tadelesh opened this issue Jan 14, 2025 · 0 comments
Assignees
Labels
emitter:client:python Issue for the Python client emitter: @typespec/http-client-python

Comments

@tadelesh
Copy link
Member

coming from Azure/autorest.python#2269 (review).
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.

@tadelesh tadelesh added the emitter:client:python Issue for the Python client emitter: @typespec/http-client-python label Jan 14, 2025
@tadelesh tadelesh self-assigned this Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emitter:client:python Issue for the Python client emitter: @typespec/http-client-python
Projects
None yet
Development

No branches or pull requests

1 participant