Packages

OpenAPI API client for Ory Oathkeeper, a cloud native Identity & Access Proxy and Access Control Decision API that authenticates, authorizes, and mutates incoming HTTP(s) requests.

Current section

Files

Jump to
ory_oathkeeper lib ory model generic_error.ex
Raw

lib/ory/model/generic_error.ex

# 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