lib/qonfig/errors.rb in qonfig-0.18.1 vs lib/qonfig/errors.rb in qonfig-0.19.0
- old
+ new
@@ -7,14 +7,22 @@
# @api public
# @since 0.1.0
ArgumentError = Class.new(ArgumentError)
+ # @see Qonfig::Validator::Builder::AttributeConsistency
+ # @see Qonfig::Validator::Predefined::Registry
+ #
# @api public
# @since 0.13.0
ValidatorArgumentError = Class.new(ArgumentError)
+ # @see Qonfig::Validator
+ # @see Qonfig::Validator::MethodBased
+ # @see Qonfig::Validator::ProcBased
+ # @see Qonfig::Validator::Predefined::Common
+ #
# @api public
# @since 0.13.0
ValidationError = Class.new(Error)
# @api public
@@ -39,10 +47,16 @@
# @since 0.1.0
UnknownSettingError = Class.new(Error)
# @see Qonfig::Settings
#
+ # @api private
+ # @since 0.19.0
+ StrangeThingsError = Class.new(Error)
+
+ # @see Qonfig::Settings
+ #
# @api public
# @since 0.2.0
AmbiguousSettingValueError = Class.new(Error)
# @see Qonfig::Settings
@@ -52,23 +66,28 @@
#
# @api public
# @since 0.2.0
CoreMethodIntersectionError = Class.new(Error)
- # @see Qonfig::Settings
- # @see Qonfig::DataSet
- #
# @api public
- # @since 0.1.0
- FrozenSettingsError = begin # rubocop:disable Naming/ConstantName
+ # @since 0.19.0
+ FrozenError = begin # rubocop:disable Naming/ConstantName
# :nocov:
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.5.0')
Class.new(::FrozenError)
else
Class.new(::RuntimeError)
end
# :nocov:
end
+
+ # @see Qonfig::Settings
+ # @see Qonfig::DataSet
+ #
+ # @api public
+ # @since 0.1.0
+ # @version 0.19.0
+ FrozenSettingsError = Class.new(FrozenError)
# @see Qonfig::Commands::Instantiation::ValuesFile
#
# @api public
# @since 0.17.0