aboutsummaryrefslogtreecommitdiffstats
path: root/docs/exceptions.rst
blob: b0435b0cd2d8ad370c0e88ceedb82cacdcd738f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Exceptions
==========

.. currentmodule:: cryptography.exceptions

.. class:: AlreadyFinalized

    This is raised when a context is used after being finalized.


.. class:: UnsupportedAlgorithm

    This is raised when a backend doesn't support the requested algorithm (or
    combination of algorithms).


.. class:: IncorrectPadding

    This is raised when a block cipher's content isn't correctly padded.