Honeybadger.Notice (Honeybadger v0.16.0) View Source

Link to this section Summary

Link to this section Types

Specs

error() :: %{
  backtrace: list(),
  class: atom() | iodata(),
  fingerprint: String.t(),
  message: iodata(),
  tags: list()
}

Specs

noticeable() :: Exception.t() | String.t() | map() | atom()

Specs

notifier() :: %{name: String.t(), url: String.t(), version: String.t()}

Specs

server() :: %{
  environment_name: atom(),
  hostname: String.t(),
  project_root: Path.t(),
  revision: String.t()
}

Specs

t() :: %Honeybadger.Notice{
  breadcrumbs: Honeybadger.Breadcrumbs.Collector.t(),
  error: error(),
  notifier: notifier(),
  request: map(),
  server: server()
}

Link to this section Functions

Link to this function

new(error, metadata, stacktrace, fingerprint \\ "")

View Source

Specs

new(noticeable(), map(), list(), String.t()) :: t()