-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return error values rather than throwing (#108)
Closes #93 In Metabase we decided to clean up error handling based on values, as opposed to a mix semantically meaningful `nil`, magic keywords, and thrown exceptions. With this change we turn (expected) exceptions into error maps. We also wrap the `tables` in a map, to avoid an awkward untagged union with the error maps. Metabase has been made agnostic to these API changes, so upgrading will be easy.
- Loading branch information
1 parent
791ab33
commit 4142daf
Showing
2 changed files
with
33 additions
and
25 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