Exception: BSV::Network::ChainProviderError
- Inherits:
-
StandardError
- Object
- StandardError
- BSV::Network::ChainProviderError
- Defined in:
- lib/bsv/network/chain_provider_error.rb
Instance Attribute Summary collapse
-
#status_code ⇒ Object
readonly
Returns the value of attribute status_code.
Instance Method Summary collapse
-
#initialize(message, status_code: nil) ⇒ ChainProviderError
constructor
A new instance of ChainProviderError.
Constructor Details
#initialize(message, status_code: nil) ⇒ ChainProviderError
Returns a new instance of ChainProviderError.
8 9 10 11 |
# File 'lib/bsv/network/chain_provider_error.rb', line 8 def initialize(, status_code: nil) @status_code = status_code super() end |
Instance Attribute Details
#status_code ⇒ Object (readonly)
Returns the value of attribute status_code.
6 7 8 |
# File 'lib/bsv/network/chain_provider_error.rb', line 6 def status_code @status_code end |