Exception: Lexer::Identity::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Lexer::Identity::Error
- Defined in:
- lib/lexer/identity.rb
Overview
Base RuntimeError class for Identity related errors. Most Lexer and Identiy errors inherit this class.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#original_error ⇒ Object
Returns the value of attribute original_error.
Instance Method Summary collapse
-
#initialize(message, original = nil) ⇒ Error
constructor
A new instance of Error.
- #to_s ⇒ Object
Constructor Details
Instance Attribute Details
#original_error ⇒ Object
Returns the value of attribute original_error.
32 33 34 |
# File 'lib/lexer/identity.rb', line 32 def original_error @original_error end |
Instance Method Details
#to_s ⇒ Object
39 40 41 |
# File 'lib/lexer/identity.rb', line 39 def to_s "Lexer Identity Exception: #{super}" end |