Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Friendly Errors #101
I really like the idea of this RFC. However I also hold out hope that an AdapterError could hold an actual data payload.. for those of us that might receive an array of errors or a hash of error parameters? rather than (read: in addition too) just a serialized string of info?
@grapho Hiya! Remember this is just the default handler if you haven't specified anything else, mostly for debugging and error tracking.
If you use a blob of JSON then that'll be spit out, or if you're looking for more model validation things then a JSON API "errors" payload would work best.