jsonapi v0.5.0 JSONAPI.Exceptions.InvalidQuery exception

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.

Summary

Functions

Callback implementation for Exception.exception/1

Callback implementation for Exception.message/1

Functions

exception(msg)
exception(String.t) :: Exception.t
exception(Keyword.t) :: Exception.t

Callback implementation for Exception.exception/1.

message(exception)
message(Exception.t) :: String.t

Callback implementation for Exception.message/1.