Current section
Files
Jump to
Current section
Files
lib/schemas/audit_log/logout_failed.ex
defmodule OpenAi.AuditLog.LogoutFailed do
@moduledoc """
Provides struct and type for a AuditLog.LogoutFailed
"""
@type t :: %__MODULE__{error_code: String.t() | nil, error_message: String.t() | nil}
defstruct [:error_code, :error_message]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[error_code: {:string, :generic}, error_message: {:string, :generic}]
end
end