forked from sds/scss-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexceptions.rb
23 lines (17 loc) · 863 Bytes
/
exceptions.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module SCSSLint::Exceptions
# Raised when an invalid flag is given via the command line.
class InvalidCLIOption < StandardError; end
# Raised when the configuration file is invalid for some reason.
class InvalidConfiguration < StandardError; end
# Raised when an unexpected error occurs in a linter
class LinterError < StandardError; end
# Raised when no files were specified or specified glob patterns did not match
# any files.
class NoFilesError < StandardError; end
# Raised when a required library (specified via command line) does not exist.
class RequiredLibraryMissingError < StandardError; end
# Raised when a linter gem plugin is required but not installed.
class PluginGemLoadError < StandardError; end
# Raised when the preprocessor tool exits with a non-zero code.
class PreprocessorError < StandardError; end
end