lib/slim_lint/exceptions.rb in slim_lint-0.5.0 vs lib/slim_lint/exceptions.rb in slim_lint-0.6.0
- old
+ new
@@ -7,9 +7,12 @@
class InvalidCLIOption < StandardError; end
# Raised when an invalid file path is specified
class InvalidFilePath < StandardError; end
+ # Raised when the Slim parser is unable to parse a template.
+ class ParseError < ::Slim::Parser::SyntaxError; end
+
# Raised when attempting to execute `Runner` with options that would result in
# no linters being enabled.
class NoLintersError < StandardError; end
end