Exception: Crossbeam::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Crossbeam::Error
- Defined in:
- lib/crossbeam/error.rb
Overview
Error message that is raised to flag a Crossbeam service error
used to create error messages for Crossbeam
Direct Known Subclasses
ArguementError, Failure, NotImplementedError, UndefinedMethod
Instance Attribute Summary collapse
-
#context ⇒ String
readonly
Error message associated with StandardError.
Instance Method Summary collapse
-
#initialize(context = nil) ⇒ Object
constructor
Used to initializee an error message.
Constructor Details
#initialize(context = nil) ⇒ Object
Used to initializee an error message
15 16 17 18 |
# File 'lib/crossbeam/error.rb', line 15 def initialize(context = nil) @context = context super end |
Instance Attribute Details
#context ⇒ String (readonly)
Returns Error message associated with StandardError.
9 10 11 |
# File 'lib/crossbeam/error.rb', line 9 def context @context end |