Source code for nash.exceptions

[docs]class LoginFailedError(Exception): """ Is raised whenever any error happens on login """ pass
[docs]class VerificationNeededError(Exception): """ Is raised when account trying to login has not been verified """ pass
[docs]class CreateAccountFailedError(Exception): """ Is raised whenever creating an account encounters an error """ pass
[docs]class UploadKeysFailedError(Exception): """ Is raised whenever upload keys fails""" pass
[docs]class WalletKeysNotFoundError(Exception): """ Is raised when login is successful but account has not provided wallet keys """ pass
[docs]class GraphQlError(Exception): """ Is raised when the GraphQL request returned an error """ pass