Current section
Files
Jump to
Current section
Files
lib/helpers/error.ex~
defmodule CSSEx.Helpers.Error do
def error_msg({:mismatched, char}), do: "mismatched #{char}"
def error_msg({:not_declared, :var, val}), do: "variable #{val} was not declared"
def error_msg({:cyclic_reference, path, file_list}), do: "cyclic reference, #{path} won't be able to be parsed"
def error_msg({:enoent, path}), do: "unable to find file #{path}"
end