Packages

SyncDispatch provides a system for Design by Contract in Elixir.

Current section

Files

Jump to
sync_dispatch lib sync_dispatch error.ex
Raw

lib/sync_dispatch/error.ex

defmodule SyncDispatch.AttachError do
defexception [:message]
@impl true
def exception(msg) do
%__MODULE__{message: msg}
end
end