ExOsrsApi.Errors.HttpErrorMetadata (ExOsrsApi v0.1.1) View Source

Link to this section Summary

Link to this section Types

Specs

t() :: %ExOsrsApi.Errors.HttpErrorMetadata{
  extra_message: String.t() | atom(),
  headers: list(),
  requested_type:
    :deadman
    | :hardcore_ironman
    | :ironman
    | :regular
    | :seasonal
    | :tournament
    | :ultimate_ironman,
  status_code: non_neg_integer() | nil
}

Link to this section Functions

Link to this function

new(status_code, extra_message, headers, requested_type)

View Source

Specs

new(
  non_neg_integer() | nil,
  String.t() | atom(),
  list(),
  :deadman
  | :hardcore_ironman
  | :ironman
  | :regular
  | :seasonal
  | :tournament
  | :ultimate_ironman
) :: t()