Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Use typeMismatchError rather than raw string error (#826)
Uses the existing method to DRY up the error message generation, and decorates with position index where needed. No behaviour is changed, but it allows for further changes to make error messaging more specific. Related to: #806
- Loading branch information