Ebay.Error (ElixirBay v0.1.0)

Copy Markdown

Normalized error struct for SDK failures.

Summary

Types

t()

@type t() :: %Ebay.Error{
  code: String.t() | nil,
  message: String.t() | nil,
  reason: term(),
  status: integer() | nil
}

Functions

new(attrs)

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

new(code, message, opts \\ [])

@spec new(String.t(), String.t(), keyword()) :: t()