Sha256: 3e32377cf643f7945bcc92dfc13da006d6cf84a67e5d05d7fb51b7835e2d5b45

Contents?: true

Size: 814 Bytes

Versions: 4

Compression:

Stored size: 814 Bytes

Contents

# frozen_string_literal: true

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

4 entries across 4 versions & 1 rubygems

Version Path
rita-5.0.0.alpha.4 lib/lita/errors.rb
rita-5.0.0.alpha.3 lib/lita/errors.rb
rita-5.0.0.alpha.2 lib/lita/errors.rb
rita-5.0.0.alpha.1 lib/lita/errors.rb