Exception: Foobara::BuiltinTypes::Attributes::SupportedTransformers::Defaults::TypeDeclarationExtension::ExtendAttributesTypeDeclaration::TypeDeclarationValidators::ValidAttributeNames::InvalidDefaultValueGivenError
- Inherits:
-
Value::DataError
- Object
- StandardError
- Error
- Value::DataError
- Foobara::BuiltinTypes::Attributes::SupportedTransformers::Defaults::TypeDeclarationExtension::ExtendAttributesTypeDeclaration::TypeDeclarationValidators::ValidAttributeNames::InvalidDefaultValueGivenError
- Defined in:
- foobara-0.7.3/projects/typesystem/projects/builtin_types/src/attributes/supported_transformers/defaults/type_declaration_extension/extend_attributes_type_declaration/type_declaration_validators/valid_attribute_names.rb
Instance Attribute Summary
Attributes inherited from Error
#backtrace_when_initialized, #backtrace_when_raised, #context, #error_key, #is_fatal, #message
Class Method Summary collapse
Methods inherited from Value::DataError
#attribute_name, category, #eql?, #initialize
Methods inherited from Error
#==, abstract, abstract?, category, #category, #category=, context, #eql?, #fatal?, foobara_manifest, #initialize, #key, message, path, #path, #path=, #prepend_path!, runtime_path, #runtime_path, #runtime_path=, subclass, symbol, #symbol, #symbol=, to_h, #to_h, types_depended_on
Methods included from Concern
foobara_class_methods_module_for, foobara_concern?, included
Constructor Details
This class inherits a constructor from Foobara::Value::DataError
Class Method Details
.context_type_declaration ⇒ Object
12 13 14 15 16 17 18 |
# File 'projects/typesystem/projects/builtin_types/src/attributes/supported_transformers/defaults/type_declaration_extension/extend_attributes_type_declaration/type_declaration_validators/valid_attribute_names.rb', line 12 def context_type_declaration { invalid_key: :symbol, valid_attribute_names: [:symbol], defaults: :attributes } end |
.fatal? ⇒ Boolean
20 21 22 23 |
# File 'projects/typesystem/projects/builtin_types/src/attributes/supported_transformers/defaults/type_declaration_extension/extend_attributes_type_declaration/type_declaration_validators/valid_attribute_names.rb', line 20 def fatal? # Since there could be multiple bad defaults true end |