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

Improve parser error messages #415

Merged
merged 2 commits into from Sep 16, 2019
Merged

Improve parser error messages #415

merged 2 commits into from Sep 16, 2019

Conversation

jacobperron
Copy link
Member

For example, instead of:

rosidl_adapter.parser.InvalidResourceName: foo

We have the more descriptive:

rosidl_adapter.parser.InvalidResourceName: 'foo' is an invalid message
name.  It should have the pattern ^[A-Z][A-Za-z0-9]*$

Related to #414

For example, instead of:

    rosidl_adapter.parser.InvalidResourceName: foo

We have the more descriptive:

    rosidl_adapter.parser.InvalidResourceName: 'foo' is an invalid message
    name.  It should have the pattern ^[A-Z][A-Za-z0-9]*$

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron
Copy link
Member Author

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@jacobperron jacobperron merged commit 9baee14 into master Sep 16, 2019
@delete-merged-branch delete-merged-branch bot deleted the jacob/improve_error_msg branch September 16, 2019 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants