Current section
Files
Jump to
Current section
Files
lib/errors/keys_not_found.ex
defmodule PassiveSupport.KeysNotFound do
defexception [:message]
def exception(args) do
message = IO.chardata_to_string [
"Expected to find keys ",
inspect(args[:expected]),
" but only found keys ",
inspect(args[:actual])
]
%__MODULE__{message: message}
end
end