voxpupuli / json-schema

Ruby JSON Schema Validator
MIT License
1.53k stars 242 forks source link

uninitialized constant JSON::Validator::SchemaParseError #307

Closed bwl21 closed 8 years ago

bwl21 commented 8 years ago

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 commented 8 years ago

Please see #292