Honeybadger.Notice (Honeybadger v0.24.1)

View Source

Summary

Types

error()

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

noticeable()

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

notifier()

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

server()

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

t()

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

Functions

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

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