Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: better error messages when resolving undefined variables (#419)
* feat: better error messages when resolving undefined variables Test before calling resolveVariable(), since by that point the information has already been lost and it's too late to provide a more detailed message Fixes #262 * feat: include API namespace in missing variable errors Helps finding where the error is * chore: reword error messages, introduce custom Error type
- Loading branch information
Showing
4 changed files
with
33 additions
and
7 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
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