This repository has been archived by the owner on Apr 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better error handling and context (#80)
- Change Model deserialization to always raise DeserializationErrors on failure. - Change Model instantiation to always raise InstantiationErrors. - Add ContextError when Fields are used in the wrong context. - Support pretty printing of SerdeErrors and context. - Support iterating through error context chain. (Resolves #38)
- Loading branch information
1 parent
404b9a9
commit 956198c
Showing
6 changed files
with
440 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.