Closed matanp closed 6 years ago
Create custom errors to better handle and report on errors having to do with the input json having a different structure than our code assumes.
Implemented: custom error class called JsonKeyError that takes in both the key and value of the failed piece of the json. This allows the developer to have access to exactly which piece of the json caused the issue.
Create custom errors to better handle and report on errors having to do with the input json having a different structure than our code assumes.