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.
Summary
Functions
Block until all queued notices have been delivered. Use during graceful shutdown.
Report an exception or string error to Errorgap. Returns :ok when the
notice is queued or successfully delivered, {:error, reason} otherwise.
Functions
@spec flush(timeout()) :: :ok
Block until all queued notices have been delivered. Use during graceful shutdown.
@spec notify( Exception.t() | binary(), keyword() ) :: :ok | {:error, term()}
Report an exception or string error to Errorgap. Returns :ok when the
notice is queued or successfully delivered, {:error, reason} otherwise.