chainlib/cic_tools/eth/error.py
nolash ca582e09a3 Finish erc20 transfer script
Signed-off-by: nolash <dev@holbrook.no>
2021-02-09 15:53:58 +01:00

13 lines
221 B
Python
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

class EthException(Exception):
pass
class RevertEthException(EthException):
pass
class DefaultErrorParser:
def translate(self, error):
return EthException('default parser code {}'.format(error))