Exception: Identikey::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Identikey::Error
- Defined in:
- lib/identikey/error.rb
Overview
Generic error class
Direct Known Subclasses
LogonFailed, NotFound, OperationFailed, ParseError, UsageError
Instance Attribute Summary collapse
-
#error_stack ⇒ Object
readonly
Returns the value of attribute error_stack.
Instance Method Summary collapse
-
#initialize(message, error_stack = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, error_stack = nil) ⇒ Error
Returns a new instance of Error.
4 5 6 7 8 |
# File 'lib/identikey/error.rb', line 4 def initialize(, error_stack = nil) super() @error_stack = error_stack end |
Instance Attribute Details
#error_stack ⇒ Object (readonly)
Returns the value of attribute error_stack.
10 11 12 |
# File 'lib/identikey/error.rb', line 10 def error_stack @error_stack end |