Exception: Graphite::TargetParser::TargetParserError
- Inherits:
-
StandardError
- Object
- StandardError
- Graphite::TargetParser::TargetParserError
- Defined in:
- lib/graphite/target_parser.rb
Instance Attribute Summary collapse
-
#parser_details ⇒ Object
Returns the value of attribute parser_details.
Instance Method Summary collapse
-
#initialize(parser_details) ⇒ TargetParserError
constructor
A new instance of TargetParserError.
- #to_s ⇒ Object
Constructor Details
#initialize(parser_details) ⇒ TargetParserError
Returns a new instance of TargetParserError.
6 7 8 |
# File 'lib/graphite/target_parser.rb', line 6 def initialize(parser_details) @parser_details = parser_details end |
Instance Attribute Details
#parser_details ⇒ Object
Returns the value of attribute parser_details.
5 6 7 |
# File 'lib/graphite/target_parser.rb', line 5 def parser_details @parser_details end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/graphite/target_parser.rb', line 9 def to_s "parse failure %{message}" % parser_details end |