Bugsnag (bugsnag v3.0.2) View Source

Link to this section Summary

Functions

Report the exception without waiting for the result of the Bugsnag API call.

Callback implementation for Application.start/2.

Report the exception and wait for the result. Returns :ok or {:error, reason}.

Link to this section Functions

Link to this function

report(exception, opts \\ [])

View Source

Specs

report(exception :: term(), opts :: list()) ::
  {:ok, pid()} | {:error, :cannot_start_task}

Report the exception without waiting for the result of the Bugsnag API call.

(i.e. this might fail silently)

Callback implementation for Application.start/2.

Link to this function

sync_report(exception, opts \\ [])

View Source

Specs

sync_report(exception :: term(), opts :: list()) ::
  :ok | {:error, reason :: term()}

Report the exception and wait for the result. Returns :ok or {:error, reason}.