Exception: Bsdkrun::FileTransferFailed

Inherits:
Error
  • Object
show all
Defined in:
lib/bsdkrun/errors.rb

Overview

A guest filesystem operation was refused (see FileSystem).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, path) ⇒ FileTransferFailed

Returns a new instance of FileTransferFailed.

Parameters:

  • message (String)
  • path (String)


60
61
62
63
# File 'lib/bsdkrun/errors.rb', line 60

def initialize(message, path)
  @path = path
  super(message)
end

Instance Attribute Details

#pathString (readonly)

Returns the path that could not be transferred.

Returns:

  • (String)

    the path that could not be transferred.



56
57
58
# File 'lib/bsdkrun/errors.rb', line 56

def path
  @path
end