Sha256: a711fe8342d99daf0fa94763f1ea38813e1a72d55a2c4dce78400a6f9c58853e

Contents?: true

Size: 594 Bytes

Versions: 1

Compression:

Stored size: 594 Bytes

Contents

# Collection of exceptions that can be raised by the HAML Lint 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

1 entries across 1 versions & 1 rubygems

Version Path
slim_lint-0.1.0 lib/slim_lint/exceptions.rb