Skip to content

Add context to error messages #22

Description

@piotrrzysko

For debugging purposes, it would be helpful to include information in error messages about what caused a given error, and preferably, where it occurred. For example, instead of returning a message like:

Invalid number. Exponent indicator has to be followed by a digit.

It would be more informative to specify the position in the input where the invalid number is, and/or attach the number to the message.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions