Current section

Files

Jump to
opencode_sdk lib opencode generated unauthorized_error.ex
Raw

lib/opencode/generated/unauthorized_error.ex

defmodule OpenCode.Generated.UnauthorizedError do
@moduledoc """
Provides struct and type for a UnauthorizedError
"""
@type t :: %__MODULE__{message: String.t(), tag: String.t()}
defstruct [:message, :tag]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[message: :string, tag: {:const, "UnauthorizedError"}]
end
end