API Reference Maverick v0.1.0

Modules

Web API framework with a need for speed

Provides the entrypoint for configuring and managing the implementation of Maverick in an application by a single use/2 macro that provides a supervision tree start_link/1 and child_spec/1 for adding Maverick as a child of the top-level application supervisor.

The request failed to process due to client error.

A protocol that allows associating http status codes with specific exceptions and providing a fallback operation in the form of an {module, function, arguments} tuple to attempt recovery.

The default fallback operation for the Maverick.Exception protocol. Returns a JSON-encoded map providing descriptive code and message outlining the problem encountered.

Defines the Maverick view of a web request as a struct and helper functions for constructing and handling it. Extracts the details from the Erlang record Elli uses to represent the request and adds or reformats various fields for working in Elixir.