API Reference errorgap v#0.1.0

Copy Markdown View Source

Modules

Elixir notifier for Errorgap. Configure via Application env, then call Errorgap.notify/2 directly, attach Errorgap.Plug to your Phoenix endpoint, or wire Errorgap.LoggerHandler into :logger for handler-style capture of crash reports and high-severity logs.

Reads the runtime configuration from the :errorgap application env, with ERRORGAP_* environment variables as defaults.

Masks sensitive map keys before they leave the process.

Minimal JSON encoder. Avoids a runtime dependency on :jason so the library has zero non-stdlib deps. Handles only the types used in notice envelopes: map, list, binary, atom, number, boolean, nil.

A Plug that reports unhandled exceptions to Errorgap. Add to the top of your Phoenix endpoint