Sha256: f0e034b2a9d7ea4967e49dd33fd3b8c4e911c8f0240e4e9dfa6bdba8c26c96fe

Contents?: true

Size: 783 Bytes

Versions: 16

Compression:

Stored size: 783 Bytes

Contents

module Lita
  # The root exception class that all Lita-specific exceptions inherit from.
  # @since 4.0.0
  class Error < StandardError; end

  # An exception raised when a custom validation is set on a configuration attribute that is
  # violated by the default value of the attribute.
  # @since 4.0.0
  class ValidationError < Error; end

  # An exception raised when Lita can't connect to Redis in test mode.
  # @since 4.0.3
  class RedisError < Error; end

  # An exception raised when attempting to resolve a template that doesn't exist.
  # @since 4.2.0
  class MissingTemplateError < Error; end

  # An exception raised when a handler attempts to render a template without having set its
  # template root.
  # @since 4.2.0
  class MissingTemplateRootError < Error; end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
lita-4.8.0 lib/lita/errors.rb
lita-4.8.0.beta1 lib/lita/errors.rb
lita-4.7.1 lib/lita/errors.rb
lita-4.7.0 lib/lita/errors.rb
lita-4.6.1 lib/lita/errors.rb
lita-4.6.0 lib/lita/errors.rb
lita-4.5.0 lib/lita/errors.rb
lita-4.4.3 lib/lita/errors.rb
lita-4.4.2 lib/lita/errors.rb
lita-4.4.1 lib/lita/errors.rb
lita-4.4.0 lib/lita/errors.rb
lita-4.3.2 lib/lita/errors.rb
lita-4.3.1 lib/lita/errors.rb
lita-4.3.0 lib/lita/errors.rb
lita-4.2.1 lib/lita/errors.rb
lita-4.2.0 lib/lita/errors.rb