Exception: BSV::Network::BroadcastError
- Inherits:
-
StandardError
- Object
- StandardError
- BSV::Network::BroadcastError
- Defined in:
- lib/bsv/network/broadcast_error.rb
Instance Attribute Summary collapse
-
#arc_status ⇒ Object
readonly
ARC API boundary: display-order hex txid as returned by the ARC error response.
-
#status_code ⇒ Object
readonly
ARC API boundary: display-order hex txid as returned by the ARC error response.
-
#txid ⇒ Object
readonly
ARC API boundary: display-order hex txid as returned by the ARC error response.
Instance Method Summary collapse
-
#initialize(message, status_code: nil, txid: nil, arc_status: nil) ⇒ BroadcastError
constructor
A new instance of BroadcastError.
Constructor Details
#initialize(message, status_code: nil, txid: nil, arc_status: nil) ⇒ BroadcastError
Returns a new instance of BroadcastError.
9 10 11 12 13 14 |
# File 'lib/bsv/network/broadcast_error.rb', line 9 def initialize(, status_code: nil, txid: nil, arc_status: nil) @status_code = status_code @txid = txid @arc_status = arc_status super() end |
Instance Attribute Details
#arc_status ⇒ Object (readonly)
ARC API boundary: display-order hex txid as returned by the ARC error response.
7 8 9 |
# File 'lib/bsv/network/broadcast_error.rb', line 7 def arc_status @arc_status end |
#status_code ⇒ Object (readonly)
ARC API boundary: display-order hex txid as returned by the ARC error response.
7 8 9 |
# File 'lib/bsv/network/broadcast_error.rb', line 7 def status_code @status_code end |
#txid ⇒ Object (readonly)
ARC API boundary: display-order hex txid as returned by the ARC error response.
7 8 9 |
# File 'lib/bsv/network/broadcast_error.rb', line 7 def txid @txid end |