Current section
Files
Jump to
Current section
Files
lib/perspective/domain_pool/errors/node_not_found.ex
defmodule Perspective.DomainPool.NodeNotFound do
defexception [:id]
def exception(value) do
%__MODULE__{
id: value
}
end
def message(%__MODULE__{} = exception) do
"The domain node (#{exception.id}) could not be found"
end
end