Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Use typeMismatchError rather than raw string error #826

Merged
merged 1 commit into from Oct 30, 2022

Commits on Oct 27, 2022

  1. refactor: Use typeMismatchError rather than raw string error

    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: pelletier#806
    jidicula committed Oct 27, 2022
    Copy the full SHA
    b190a1a View commit details
    Browse the repository at this point in the history