lib/qonfig/errors.rb in qonfig-0.19.1 vs lib/qonfig/errors.rb in qonfig-0.20.0
- old
+ new
@@ -7,27 +7,32 @@
# @api public
# @since 0.1.0
ArgumentError = Class.new(ArgumentError)
- # @see Qonfig::Validator::Builder::AttributeConsistency
- # @see Qonfig::Validator::Predefined::Registry
+ # @see Qonfig::Validation::Validators::MethodBased
+ # @see Qonfig::Validation::Validators::ProcBased
+ # @see Qonfig::Validation::Validators::Predefined
#
# @api public
# @since 0.13.0
- ValidatorArgumentError = Class.new(ArgumentError)
+ ValidationError = Class.new(Error)
- # @see Qonfig::Validator
- # @see Qonfig::Validator::MethodBased
- # @see Qonfig::Validator::ProcBased
- # @see Qonfig::Validator::Predefined::Common
+ # @see Qonfig::Validation::Building::InstanceBuilder::AttributeConsistency
+ # @see Qonfig::Validation::Building::PredefinedBuilder
#
# @api public
# @since 0.13.0
- ValidationError = Class.new(Error)
+ ValidatorArgumentError = Class.new(ArgumentError)
+ # @see Qonfig::Validation::Collections::PredefinedRegistry
+ #
# @api public
+ # @since 0.20.0
+ ValidatorNotFoundError = Class.new(ValidatorArgumentError)
+
+ # @api public
# @since 0.12.0
PluginError = Class.new(Error)
# @api public
# @since 0.11.0
@@ -61,9 +66,10 @@
# @see Qonfig::Settings
# @see Qonfig::Settings::KeyGuard
# @see Qonfig::Commands::Definition::AddOption
# @see Qonfig::Commands::Definition::AddNestedOption
+ # @see Qonfig::Commands::Definition::ReDefineOption
#
# @api public
# @since 0.2.0
CoreMethodIntersectionError = Class.new(Error)