chainlib/cic_tools/eth/error.py

9 lines
170 B
Python
Raw Normal View History

2021-02-08 10:39:42 +01:00
class EthException(Exception):
pass
class DefaultErrorParser:
def translate(self, error):
return EthException('default parser code {}'.format(error))