lib/k8s/conn/error.ex
defmodule K8s.Conn.Error do
defexception message: nil
@type t :: %__MODULE__{message: String.t()}
@spec message(__MODULE__.t()) :: String.t()
def message(%__MODULE__{message: message}), do: message
end
defmodule K8s.Conn.Error do
defexception message: nil
@type t :: %__MODULE__{message: String.t()}
@spec message(__MODULE__.t()) :: String.t()
def message(%__MODULE__{message: message}), do: message
end