Exception: PiNetwork::Errors::TxSubmissionError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tx_error_code, op_error_codes) ⇒ TxSubmissionError

Returns a new instance of TxSubmissionError.



38
39
40
41
42
# File 'lib/errors.rb', line 38

def initialize(tx_error_code, op_error_codes)
  super(message)
  @tx_error_code = tx_error_code
  @op_error_codes = op_error_codes
end

Instance Attribute Details

#op_error_codesObject (readonly)

Returns the value of attribute op_error_codes.



36
37
38
# File 'lib/errors.rb', line 36

def op_error_codes
  @op_error_codes
end

#tx_error_codeObject (readonly)

Returns the value of attribute tx_error_code.



35
36
37
# File 'lib/errors.rb', line 35

def tx_error_code
  @tx_error_code
end