brandur / json_schema

A JSON Schema V4 and Hyperschema V4 parser and validator.
MIT License
230 stars 45 forks source link

use custom errors rather than just raise by itself #49

Closed skippy closed 8 years ago

skippy commented 8 years ago

ie, do raise MyCustomError.new "some useful error msg" rather than raise "some useful error msg"

thanks!

brandur commented 8 years ago

Added a patch in #52. Can you take a look? Thanks!