Exception: StructuraidCore::DesignCodes::RequirementNotFulfilledError
- Inherits:
-
StandardError
- Object
- StandardError
- StructuraidCore::DesignCodes::RequirementNotFulfilledError
- Defined in:
- lib/structuraid_core/errors/design_codes/requirement_not_fulfilled_error.rb
Instance Attribute Summary collapse
-
#code_reference ⇒ Object
readonly
Returns the value of attribute code_reference.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#requirement ⇒ Object
readonly
Returns the value of attribute requirement.
Instance Method Summary collapse
-
#initialize(requirement, message, code_reference) ⇒ RequirementNotFulfilledError
constructor
A new instance of RequirementNotFulfilledError.
Constructor Details
#initialize(requirement, message, code_reference) ⇒ RequirementNotFulfilledError
Returns a new instance of RequirementNotFulfilledError.
6 7 8 9 10 11 12 |
# File 'lib/structuraid_core/errors/design_codes/requirement_not_fulfilled_error.rb', line 6 def initialize(requirement, , code_reference) @requirement = requirement @message = @code_reference = code_reference super() end |
Instance Attribute Details
#code_reference ⇒ Object (readonly)
Returns the value of attribute code_reference.
4 5 6 |
# File 'lib/structuraid_core/errors/design_codes/requirement_not_fulfilled_error.rb', line 4 def code_reference @code_reference end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
4 5 6 |
# File 'lib/structuraid_core/errors/design_codes/requirement_not_fulfilled_error.rb', line 4 def @message end |
#requirement ⇒ Object (readonly)
Returns the value of attribute requirement.
4 5 6 |
# File 'lib/structuraid_core/errors/design_codes/requirement_not_fulfilled_error.rb', line 4 def requirement @requirement end |