Exception: RemoteService::Errors::RemoteCallError
- Inherits:
-
StandardError
- Object
- StandardError
- RemoteService::Errors::RemoteCallError
- Defined in:
- lib/remote_service/errors.rb
Instance Attribute Summary collapse
-
#backtrace ⇒ Object
Returns the value of attribute backtrace.
-
#message ⇒ Object
Returns the value of attribute message.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, message, backtrace) ⇒ RemoteCallError
constructor
A new instance of RemoteCallError.
Constructor Details
#initialize(name, message, backtrace) ⇒ RemoteCallError
Returns a new instance of RemoteCallError.
6 7 8 9 10 |
# File 'lib/remote_service/errors.rb', line 6 def initialize(name, , backtrace) @name = name @message = @backtrace = backtrace end |
Instance Attribute Details
#backtrace ⇒ Object
Returns the value of attribute backtrace.
4 5 6 |
# File 'lib/remote_service/errors.rb', line 4 def backtrace @backtrace end |
#message ⇒ Object
Returns the value of attribute message.
4 5 6 |
# File 'lib/remote_service/errors.rb', line 4 def @message end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/remote_service/errors.rb', line 4 def name @name end |