View Source Jiraffe.Error exception (Jiraffe v0.1.0)

Error struct

Summary

Types

@type t() :: %Jiraffe.Error{__exception__: true, details: map(), reason: atom()}

Functions

@spec new(details :: map() | String.t()) :: t()
Link to this function

new(reason, details \\ %{})

View Source
@spec new(reason :: atom(), details :: map() | String.t()) :: t()