microsoft / microsoft/typespec

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

Open
#5,597 0 comments 0 reactions 1 assignee Claimed by @tadelesh View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.