Packages

OpenAPI API client for Ory Kratos, Ory's central identity management solution with hardened authentication, MFA, FIDO2, TOTP, WebAuthn, SSO, profile management, and more.

Current section

Files

Jump to
ory_kratos lib ory model generic_error.ex
Raw

lib/ory/model/generic_error.ex

# NOTE: This file is auto generated by OpenAPI Generator 6.6.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule Ory.Model.GenericError do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:code,
:debug,
:details,
:id,
:message,
:reason,
:request,
:status
]
@type t :: %__MODULE__{
:code => integer() | nil,
:debug => String.t | nil,
:details => map() | nil,
:id => String.t | nil,
:message => String.t,
: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