Exception: Fabric::ChaincodeError
- Defined in:
- lib/fabric/error.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message) ⇒ ChaincodeError
constructor
A new instance of ChaincodeError.
Methods inherited from Error
Constructor Details
#initialize(message) ⇒ ChaincodeError
Returns a new instance of ChaincodeError.
34 35 36 37 38 |
# File 'lib/fabric/error.rb', line 34 def initialize() response = Hashie::Mash.new JSON.parse() super response., response.code, response.errors end |