jsonapi v0.6.0 JSONAPI.Exceptions.InvalidQuery exception View Source

Defines a generic exception for when an invalid query is recieved and is unable to be parsed nor handlded.

All JSONAPI exceptions on index routes return a 400.

Link to this section Summary

Functions

Callback implementation for Exception.exception/1

Callback implementation for Exception.message/1

Link to this section Functions

Link to this function exception(msg) View Source
exception(String.t) :: Exception.t
exception(keyword) :: Exception.t

Callback implementation for Exception.exception/1.

Callback implementation for Exception.message/1.