Class: Factorix::Dependency::ValidationResult::Error
- Inherits:
-
Data
- Object
- Data
- Factorix::Dependency::ValidationResult::Error
- Defined in:
- lib/factorix/dependency/validation_result.rb,
lib/factorix/dependency/validation_result.rb,
sig/factorix/dependency/validation_result.rbs
Overview
Validation error information
Represents an error found during dependency validation.
Instance Attribute Summary collapse
-
#dependency ⇒ Object
readonly
Returns the value of attribute dependency.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#mod ⇒ Object
readonly
Returns the value of attribute mod.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize ⇒ Error
Returns a new instance of Error.
14 |
# File 'sig/factorix/dependency/validation_result.rbs', line 14
def initialize: (type: Symbol, message: String, ?mod: MOD?, ?dependency: MOD?) -> void
|
Instance Attribute Details
#dependency ⇒ Object (readonly)
Returns the value of attribute dependency
9 10 11 |
# File 'lib/factorix/dependency/validation_result.rb', line 9 def dependency @dependency end |
#message ⇒ Object (readonly)
Returns the value of attribute message
9 10 11 |
# File 'lib/factorix/dependency/validation_result.rb', line 9 def @message end |
#mod ⇒ Object (readonly)
Returns the value of attribute mod
9 10 11 |
# File 'lib/factorix/dependency/validation_result.rb', line 9 def mod @mod end |
#type ⇒ Object (readonly)
Returns the value of attribute type
9 10 11 |
# File 'lib/factorix/dependency/validation_result.rb', line 9 def type @type end |