Exception: CFA::AugeasInternalError
- Inherits:
-
AugeasError
- Object
- RuntimeError
- AugeasError
- CFA::AugeasInternalError
- Defined in:
- lib/cfa/augeas_parser.rb
Overview
Error in augeas itself like broken lens
Instance Attribute Summary collapse
-
#aug_message ⇒ Object
readonly
Returns the value of attribute aug_message.
-
#details ⇒ Object
readonly
Returns the value of attribute details.
Instance Method Summary collapse
-
#initialize(message, details) ⇒ AugeasInternalError
constructor
A new instance of AugeasInternalError.
Constructor Details
#initialize(message, details) ⇒ AugeasInternalError
Returns a new instance of AugeasInternalError.
48 49 50 51 52 53 |
# File 'lib/cfa/augeas_parser.rb', line 48 def initialize(, details) @aug_message = @details = details super("Augeas error: #{}. Details: #{details}.") end |
Instance Attribute Details
#aug_message ⇒ Object (readonly)
Returns the value of attribute aug_message.
46 47 48 |
# File 'lib/cfa/augeas_parser.rb', line 46 def @aug_message end |
#details ⇒ Object (readonly)
Returns the value of attribute details.
45 46 47 |
# File 'lib/cfa/augeas_parser.rb', line 45 def details @details end |