Sha256: fbfdb4b108c94c70035a919faec49c51bc96c11fe4cc3d34ce969d5d21a527fc

Contents?: true

Size: 733 Bytes

Versions: 28

Compression:

Stored size: 733 Bytes

Contents

# frozen_string_literal: true

# 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

28 entries across 28 versions & 2 rubygems

Version Path
slim_lint-0.31.1 lib/slim_lint/exceptions.rb
slim_lint-0.31.0 lib/slim_lint/exceptions.rb
slim_lint-0.30.0 lib/slim_lint/exceptions.rb
slim_lint-0.29.0 lib/slim_lint/exceptions.rb
slim_lint-0.28.0 lib/slim_lint/exceptions.rb
slim_lint-0.27.0 lib/slim_lint/exceptions.rb
slim_lint-0.26.0 lib/slim_lint/exceptions.rb
slim_lint-0.25.0 lib/slim_lint/exceptions.rb
slim_lint-0.24.0 lib/slim_lint/exceptions.rb
slim_lint-0.23.0 lib/slim_lint/exceptions.rb
slim_lint_standard-0.0.2.2 lib/slim_lint/exceptions.rb
slim_lint_standard-0.0.2.1 lib/slim_lint/exceptions.rb
slim_lint_standard-0.0.2 lib/slim_lint/exceptions.rb
slim_lint_standard-0.0.1 lib/slim_lint/exceptions.rb
slim_lint_standard-0.0.0 lib/slim_lint/exceptions.rb
slim_lint-0.22.1 lib/slim_lint/exceptions.rb
slim_lint-0.22.0 lib/slim_lint/exceptions.rb
slim_lint-0.21.1 lib/slim_lint/exceptions.rb
slim_lint-0.21.0 lib/slim_lint/exceptions.rb
slim_lint-0.20.2 lib/slim_lint/exceptions.rb