Exception: DRb::DRbRemoteError
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: 
          self,
           DRbError,
          RuntimeError | |
| Instance Chain: 
          self,
           DRbError,
          RuntimeError | |
| Inherits: | DRb::DRbError 
 | 
| Defined in: | lib/drb/drb.rb | 
Overview
An exception wrapping an error object
Class Method Summary
- 
    
      .new(error)  ⇒ DRbRemoteError 
    
    constructor
    Creates a new remote error that wraps the Exception error
Instance Attribute Summary
- 
    
      #reason  
    
    readonly
    the class of the error, as a string. 
Constructor Details
    .new(error)  ⇒ DRbRemoteError 
  
Creates a new remote error that wraps the Exception error
# File 'lib/drb/drb.rb', line 434
def initialize(error) @reason = error.class.to_s super("#{error.} (#{error.class})") set_backtrace(error.backtrace) end
Instance Attribute Details
#reason (readonly)
the class of the error, as a string.
# File 'lib/drb/drb.rb', line 441
attr_reader :reason