TokenRiskError
Documentation for eth_defi.token_analysis.tokenrisk.TokenRiskError exception.
- exception TokenRiskError
Bases:
ExceptionWrap bad API replies from Token Risk.
Has attribute status_code
- Parameters
status_code – to reflect the HTTP code (e.g. 404 if Token Risk does not have data)
- __init__(msg, status_code, address)
- __new__(**kwargs)
- add_note()
Exception.add_note(note) – add a note to the exception
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.