Method: Cuprum::Result#error

Defined in:
lib/cuprum/result.rb

#errorObject (readonly)

Returns the error (if any) generated when the command was called.

Returns:

  • (Object)

    the error (if any) generated when the command was called.



27
28
29
# File 'lib/cuprum/result.rb', line 27

def error
  @error
end