This repository has been archived by the owner on Jun 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from Zilliqa/patch/newjslib
Patch Kaya RPC to work with latest zilliqa-js
- Loading branch information
Showing
18 changed files
with
2,860 additions
and
2,360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
class InterpreterError extends Error { | ||
constructor(message) { | ||
super(message); | ||
this.name = "InterpreterError"; | ||
} | ||
} | ||
|
||
class BalanceError extends Error { | ||
constructor(message) { | ||
super(message); | ||
this.name = "BalanceError"; | ||
} | ||
} | ||
|
||
class MultiContractError extends Error { | ||
constructor(message) { | ||
super(message); | ||
this.name = "MulticontractError"; | ||
} | ||
} | ||
|
||
class InsufficientGasError extends Error { | ||
constructor(message) { | ||
super(message); | ||
this.name = "InsufficientGasError"; | ||
} | ||
} | ||
|
||
module.exports = { | ||
InterpreterError: InterpreterError, | ||
BalanceError : BalanceError, | ||
MultiContractError : MultiContractError, | ||
InsufficientGasError : InsufficientGasError | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.