Current section

Files

Jump to
oapi_open_ai lib schemas fine_tuning job error.ex
Raw

lib/schemas/fine_tuning/job/error.ex

defmodule OpenAi.FineTuning.Job.Error do
@moduledoc """
Provides struct and type for a FineTuning.Job.Error
"""
@type t :: %__MODULE__{code: String.t(), message: String.t(), param: String.t() | nil}
defstruct [:code, :message, :param]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[code: {:string, :generic}, message: {:string, :generic}, param: {:string, :generic}]
end
end