# NOTE: This file is auto generated by OpenAPI Generator 7.12.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule Ory.Model.GenericError do
@moduledoc """
The standard error format
"""
@derive Jason.Encoder
defstruct [
:code,
:details,
:message,
:reason,
:request,
:status
]
@type t :: %__MODULE__{
:code => integer() | nil,
:details => [%{optional(String.t) => any()}] | nil,
:message => String.t | nil,
:reason => String.t | nil,
:request => String.t | nil,
:status => String.t | nil
}
def decode(value) do
value
end
end