Exception: GorgService::Consumer::FailError
- Inherits:
-
StandardError
- Object
- StandardError
- GorgService::Consumer::FailError
- Defined in:
- lib/gorg_service/consumer/errors.rb
Overview
Common behavior of failling errors
Direct Known Subclasses
Instance Attribute Summary collapse
-
#error_raised ⇒ Object
readonly
Returns the value of attribute error_raised.
Instance Method Summary collapse
-
#initialize(message = nil, error_raised = nil) ⇒ FailError
constructor
A new instance of FailError.
- #message ⇒ Object
- #type ⇒ Object
Constructor Details
#initialize(message = nil, error_raised = nil) ⇒ FailError
Returns a new instance of FailError.
10 11 12 13 |
# File 'lib/gorg_service/consumer/errors.rb', line 10 def initialize( = nil, error_raised = nil) @message = @error_raised = error_raised end |
Instance Attribute Details
#error_raised ⇒ Object (readonly)
Returns the value of attribute error_raised.
8 9 10 |
# File 'lib/gorg_service/consumer/errors.rb', line 8 def error_raised @error_raised end |
Instance Method Details
#message ⇒ Object
15 16 17 |
# File 'lib/gorg_service/consumer/errors.rb', line 15 def @message end |
#type ⇒ Object
19 20 21 |
# File 'lib/gorg_service/consumer/errors.rb', line 19 def type "" end |