Exception: Foobara::TypeDeclarations::Handlers::ExtendModelTypeDeclaration::ValidAttributeNames::InvalidPrivateValueGivenError
- Inherits:
-
Value::DataError
- Object
- StandardError
- Error
- Value::DataError
- Foobara::TypeDeclarations::Handlers::ExtendModelTypeDeclaration::ValidAttributeNames::InvalidPrivateValueGivenError
- Defined in:
- foobara-0.0.110/projects/model/src/extensions/type_declarations/handlers/extend_model_type_declaration/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, context, #eql?, #fatal?, foobara_manifest, #initialize, #key, message, path, #prepend_path!, runtime_path, subclass, 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
8 9 10 11 12 13 14 |
# File 'foobara-0.0.110/projects/model/src/extensions/type_declarations/handlers/extend_model_type_declaration/valid_attribute_names.rb', line 8 def context_type_declaration { invalid_attribute_name: :symbol, valid_attribute_names: [:symbol], private: :array } end |
.fatal? ⇒ Boolean
16 17 18 19 |
# File 'foobara-0.0.110/projects/model/src/extensions/type_declarations/handlers/extend_model_type_declaration/valid_attribute_names.rb', line 16 def fatal? # Since there could be multiple bad private true end |