ash/lib/ash/error/error_kind.ex

13 lines
207 B
Elixir
Raw Normal View History

defprotocol Ash.ErrorKind do
@moduledoc false
@spec id(t()) :: String.t()
def id(error)
@spec code(t()) :: String.t()
def code(error)
@spec message(t()) :: String.t()
def message(error)
end