Sha256: 88acbd43562938d8047644c8ccaff1b9ce3c85ecfa1df7ff2f0ecbaca34ae5b9

Contents?: true

Size: 702 Bytes

Versions: 17

Compression:

Stored size: 702 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 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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
slim_lint-0.15.1 lib/slim_lint/exceptions.rb
slim_lint-0.15.0 lib/slim_lint/exceptions.rb
slim_lint-0.14.0 lib/slim_lint/exceptions.rb
slim_lint-0.13.0 lib/slim_lint/exceptions.rb
slim_lint-0.12.0 lib/slim_lint/exceptions.rb
slim_lint-0.11.0 lib/slim_lint/exceptions.rb
slim_lint-0.10.0 lib/slim_lint/exceptions.rb
slim_lint-0.9.0 lib/slim_lint/exceptions.rb
slim_lint-0.8.3 lib/slim_lint/exceptions.rb
slim_lint-0.8.2 lib/slim_lint/exceptions.rb
slim_lint-0.8.1 lib/slim_lint/exceptions.rb
slim_lint-0.8.0 lib/slim_lint/exceptions.rb
slim_lint-0.7.2 lib/slim_lint/exceptions.rb
slim_lint-0.7.1 lib/slim_lint/exceptions.rb
slim_lint-0.7.0 lib/slim_lint/exceptions.rb
slim_lint-0.6.1 lib/slim_lint/exceptions.rb
slim_lint-0.6.0 lib/slim_lint/exceptions.rb