jsonapi v0.3.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 c:Exception.exception/1

Callback implementation for c:Exception.message/1

Functions

exception(msg)

Specs

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

Callback implementation for c:Exception.exception/1.

message(exception)

Specs

message(Exception.t) :: String.t

Callback implementation for c:Exception.message/1.