summaryrefslogtreecommitdiff
path: root/docs/lib/passlib.exc.rst
blob: f6e67ee2c2c470976090f58d5e3997847ee1f531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
============================================
:mod:`passlib.exc` - Exceptions and warnings
============================================

.. module:: passlib.exc
    :synopsis: exceptions & warnings raised by Passlib

This module contains all the custom exceptions & warnings that
may be raised by Passlib.

Exceptions
==========
.. autoexception:: MissingBackendError

.. index::
    pair: environmental variable; PASSLIB_MAX_PASSWORD_SIZE

.. autoexception:: PasswordValueError

.. autoexception:: PasswordSizeError

.. autoexception:: PasswordTruncateError

.. autoexception:: PasslibSecurityError

.. autoexception:: UnknownHashError

TOTP Exceptions
---------------
.. autoexception:: TokenError
.. autoexception:: MalformedTokenError
.. autoexception:: InvalidTokenError
.. autoexception:: UsedTokenError

Warnings
========
.. autoexception:: PasslibWarning

Minor Warnings
--------------
.. autoexception:: PasslibConfigWarning
.. autoexception:: PasslibHashWarning

Critical Warnings
-----------------
.. autoexception:: PasslibRuntimeWarning
.. autoexception:: PasslibSecurityWarning