Maverick.Exception.DefaultFallback (Maverick v0.1.0) View Source

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

Link to this section Summary

Functions

Receives an exception and parses it for a :message and :error_code field, returning a JSON-encoded map detailing the code and message.

Link to this section Functions

Receives an exception and parses it for a :message and :error_code field, returning a JSON-encoded map detailing the code and message.