Exception: CFA::AugeasSerializingError
- Inherits:
-
AugeasError
- Object
- RuntimeError
- AugeasError
- CFA::AugeasSerializingError
- Defined in:
- lib/cfa/augeas_parser.rb
Overview
Serializing error
Instance Attribute Summary collapse
-
#aug_message ⇒ Object
readonly
Returns the value of attribute aug_message.
-
#aug_tree ⇒ Object
readonly
Returns the value of attribute aug_tree.
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#lens ⇒ Object
readonly
Returns the value of attribute lens.
Instance Method Summary collapse
-
#initialize(params) ⇒ AugeasSerializingError
constructor
A new instance of AugeasSerializingError.
Constructor Details
#initialize(params) ⇒ AugeasSerializingError
Returns a new instance of AugeasSerializingError.
88 89 90 91 92 93 94 95 96 97 |
# File 'lib/cfa/augeas_parser.rb', line 88 def initialize(params) @aug_message = params[:message] @file = params[:file] @lens = params[:lens] @aug_tree = params[:aug_tree] super("Augeas serializing error: #{@aug_message}" \ " for #{@file} with lens #{@lens}" ) end |
Instance Attribute Details
#aug_message ⇒ Object (readonly)
Returns the value of attribute aug_message.
83 84 85 |
# File 'lib/cfa/augeas_parser.rb', line 83 def @aug_message end |
#aug_tree ⇒ Object (readonly)
Returns the value of attribute aug_tree.
86 87 88 |
# File 'lib/cfa/augeas_parser.rb', line 86 def aug_tree @aug_tree end |
#file ⇒ Object (readonly)
Returns the value of attribute file.
84 85 86 |
# File 'lib/cfa/augeas_parser.rb', line 84 def file @file end |
#lens ⇒ Object (readonly)
Returns the value of attribute lens.
85 86 87 |
# File 'lib/cfa/augeas_parser.rb', line 85 def lens @lens end |