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

uninitialized constant JSON::Validator::SchemaParseError #307

Closed
bwl21 opened this issue Feb 17, 2016 · 1 comment
Closed

uninitialized constant JSON::Validator::SchemaParseError #307

bwl21 opened this issue Feb 17, 2016 · 1 comment

Comments

@bwl21
Copy link

bwl21 commented Feb 17, 2016

If I pass an invalid schema I get this error message
uninitialized constant JSON::Validator::SchemaParseError

maybe in validator.rb

        raise SchemaParseError, "Invalid schema - must be either a string or a hash"

should be

        raise JASON::Schema::SchemaParseError, "Invalid schema - must be either a string or a hash"
@iainbeeston
Copy link
Contributor

Please see #292

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

No branches or pull requests

2 participants