Current section
Files
Jump to
Current section
Files
lib/minipeg/error.ex
defmodule Minipeg.Error do
@moduledoc ~S"""
Raised if parse errors occur when parsing with bang functions
"""
defexception [:message]
@type t :: %__MODULE__{message: binary()}
def exception(msg), do: %__MODULE__{message: msg}
end
# SPDX-License-Identifier: Apache-2.0