Class: Aspera::Plugins::Server::AsCmd::Error::Failure

Inherits:
Data
  • Object
show all
Defined in:
lib/aspera/plugins/server/ascmd.rb

Overview

A failed command

Instance Attribute Summary collapse

Instance Attribute Details

#arguments ⇒ Object (readonly)

Returns the value of attribute arguments

Returns:

  • (Object) —

    the current value of arguments



92
93
94
# File 'lib/aspera/plugins/server/ascmd.rb', line 92

def arguments
  @arguments
end

#arguments [Array<String>] Arguments of the command([Array<String>]) ⇒ Object (readonly)

A failed command



92
# File 'lib/aspera/plugins/server/ascmd.rb', line 92

Failure = Data.define(:errno, :errstr, :arguments)

#errno ⇒ Object (readonly)

Returns the value of attribute errno

Returns:

  • (Object) —

    the current value of errno



92
93
94
# File 'lib/aspera/plugins/server/ascmd.rb', line 92

def errno
  @errno
end

#errno [Integer, nil] Error number (-1: error of `ascmd` itself), `nil` if no reply([Integer, nil](-1: error of `ascmd` itself), `nil`) ⇒ Object (readonly)

A failed command



92
# File 'lib/aspera/plugins/server/ascmd.rb', line 92

Failure = Data.define(:errno, :errstr, :arguments)

#errstr ⇒ Object (readonly)

Returns the value of attribute errstr

Returns:

  • (Object) —

    the current value of errstr



92
93
94
# File 'lib/aspera/plugins/server/ascmd.rb', line 92

def errstr
  @errstr
end

#errstr [String] Error message([String]) ⇒ Object (readonly)

A failed command



92
# File 'lib/aspera/plugins/server/ascmd.rb', line 92

Failure = Data.define(:errno, :errstr, :arguments)