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