Current section
Files
Jump to
Current section
Files
lib/fl_hook/command_error.ex
defmodule FLHook.CommandError do
@moduledoc """
An error indicating a command returned unsuccessfully.
"""
defexception [:detail]
@type t :: %__MODULE__{detail: String.t()}
@impl true
def message(error) do
"Command error: #{error.detail}"
end
end