Current section

Files

Jump to
perspective lib perspective encryption errors non_decryptable_data.ex
Raw

lib/perspective/encryption/errors/non_decryptable_data.ex

defmodule Perspective.NonDecryptableData do
defexception [:data]
def exception(data) do
%__MODULE__{
data: data
}
end
def message(%__MODULE__{data: data}) do
"The supplied data could not be decrypted data: #{data}"
end
end