lib/lita/errors.rb in lita-4.1.0 vs lib/lita/errors.rb in lita-4.2.0
- old
+ new
@@ -9,6 +9,15 @@
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