lib/lita/errors.rb in lita-4.0.0.rc1 vs lib/lita/errors.rb in lita-4.0.0.rc2
- old
+ new
@@ -1,9 +1,10 @@
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 configuration attribute is invalid.
+ # 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
end