Sha256: e5a8af162863184f749e170b9bc203332e1c4232a620b53873636163ec7b2a2d

Contents?: true

Size: 584 Bytes

Versions: 4

Compression:

Stored size: 584 Bytes

Contents

# Collection of exceptions that can be raised by the application.
module SlimLint::Exceptions
  # Raised when a {Configuration} could not be loaded from a file.
  class ConfigurationError < StandardError; end

  # Raised when invalid/incompatible command line options are provided.
  class InvalidCLIOption < StandardError; end

  # Raised when an invalid file path is specified
  class InvalidFilePath < StandardError; end

  # Raised when attempting to execute `Runner` with options that would result in
  # no linters being enabled.
  class NoLintersError < StandardError; end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slim_lint-0.5.0 lib/slim_lint/exceptions.rb
slim_lint-0.4.0 lib/slim_lint/exceptions.rb
slim_lint-0.3.0 lib/slim_lint/exceptions.rb
slim_lint-0.2.0 lib/slim_lint/exceptions.rb