Current section
Files
Jump to
Current section
Files
lib/ory/model/generic_error.ex
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# https://openapi-generator.tech
# Do not edit the class manually.
defmodule Ory.Model.GenericError do
@moduledoc """
The standard error format
"""
@derive [Poison.Encoder]
defstruct [
:code,
:details,
:message,
:reason,
:request,
:status
]
@type t :: %__MODULE__{
:code => integer() | nil,
:details => [%{optional(String.t) => AnyType}] | nil,
:message => String.t | nil,
:reason => String.t | nil,
:request => String.t | nil,
:status => String.t | nil
}
end
defimpl Poison.Decoder, for: Ory.Model.GenericError do
def decode(value, _options) do
value
end
end