Inttegro.Error (inttegro v0.1.0)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.Error{
  cause: String.t() | nil,
  code: String.t(),
  detail: String.t() | nil,
  fix_code: String.t() | nil,
  message: String.t() | nil,
  type: String.t(),
  url: String.t()
}

Functions

from_map(map)

@spec from_map(map()) :: t()

new!(attrs \\ %{})

@spec new!(map() | keyword()) :: t()

to_map(value)

@spec to_map(t()) :: map()