Exception: Aspera::AsCmd::Error
- Inherits:
 - 
      StandardError
      
        
- Object
 - StandardError
 - Aspera::AsCmd::Error
 
 
- Defined in:
 - lib/aspera/ascmd.rb
 
Overview
This exception is raised when ascmd returns an error.
Instance Method Summary collapse
- #extended_message ⇒ Object
 - 
  
    
      #initialize(errno, errstr, cmd, arguments)  ⇒ Error 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Error.
 - #message ⇒ Object
 
Constructor Details
#initialize(errno, errstr, cmd, arguments) ⇒ Error
Returns a new instance of Error.
      102 103  | 
    
      # File 'lib/aspera/ascmd.rb', line 102 def initialize(errno, errstr, cmd, arguments) super(); @errno = errno; @errstr = errstr; @command = cmd; @arguments = arguments; end  | 
  
Instance Method Details
#extended_message ⇒ Object
      106  | 
    
      # File 'lib/aspera/ascmd.rb', line 106 def ; "ascmd: errno=#{@errno} errstr=\"#{@errstr}\" command=#{@command} arguments=#{@arguments&.join(',')}"; end  | 
  
#message ⇒ Object
      105  | 
    
      # File 'lib/aspera/ascmd.rb', line 105 def ; "ascmd: #{@errstr} (#{@errno})"; end  |