AppSignal v1.13.5 Appsignal.ErrorHandler View Source

Error handler which sends all crash reports to the AppSignal backend.

When you add :appsignal to your application's dependencies, this error logger will automatically be installed. All processes that are supervised, like GenServers, Tasks, Agents, Supervisored will be monitored for crashes. In the case of a crash, the AppSignal error handler collects error information and sends it to the backend.

Link to this section Summary

Link to this section Functions

Link to this function

extract_reason_and_message(any, prefix)

View Source
This function is deprecated. Use Appsignal.Error.metadata/1 instead..
Link to this function

handle_error(pid_or_transaction, error, stack, conn \\ %{})

View Source

Specs

handle_error(
  Appsignal.Transaction.t() | pid() | any(),
  any(),
  Exception.stacktrace(),
  map()
) :: :ok
Link to this function

normalize_reason(reason)

View Source
This function is deprecated. Use Appsignal.Error.metadata/1 instead..
Link to this function

set_error(transaction, error, stack)

View Source

Specs

Link to this function

submit_transaction(transaction, reason, message, stack, metadata, conn \\ nil)

View Source