diff --git a/docs/exceptions.rst b/docs/exceptions.rst new file mode 100644 index 0000000000000000000000000000000000000000..6de01fe07b6e713c808bcf0c80218f5fe47bc686 --- /dev/null +++ b/docs/exceptions.rst @@ -0,0 +1,11 @@ +Exceptions +========== + +.. class:: CryptoError + + Base exception for all nacl related errors + + +.. class:: BadSignatureError + + Raised when the signature was forged or otherwise corrupt. diff --git a/docs/index.rst b/docs/index.rst index c8ce3d36d06fbbb005c4987c9f9a6067520098d1..a48527841c5dc7cfd1e6cd750384d93970bc4b9b 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,7 +1,8 @@ PyNaCl: Python binding to the Networking and Cryptography (NaCl) library ======================================================================== -Contents: +Contents +-------- .. toctree:: :maxdepth: 2 @@ -18,6 +19,7 @@ Support Features :maxdepth: 2 encoding + exceptions Api Documentation @@ -27,7 +29,7 @@ Api Documentation :maxdepth: 2 :glob: - api/* + api/hash Indices and tables