Exceptions (Use them in your project!)¶
Exception classes used either by our helpers, or just generic exception names which are missing from the standard base exceptions in Python, and are commonly used across our projects.
Copyright:
+===================================================+
| © 2019 Privex Inc. |
| https://www.privex.io |
+===================================================+
| |
| Originally Developed by Privex Inc. |
| License: X11 / MIT |
| |
| Core Developer(s): |
| |
| (+) Chris (@someguy123) [Privex] |
| (+) Kale (@kryogenic) [Privex] |
| |
+===================================================+
Copyright 2019 Privex Inc. ( https://www.privex.io )
Exceptions
Base exception for DNS-related exceptions |
|
Thrown when the v4/v6 address boundary for a reverse DNS record is invalid. |
|
Thrown when a cache key is requested, but it doesn’t exist / is expired. |
|
Thrown when a (sub)domain or it’s parent(s) could not be found |
|
Raised when ENCRYPT_KEY is not set, or invalid |
|
Raised when something went wrong attempting to encrypt or decrypt a piece of data |
|
Thrown when a passed DNS record is not valid |
|
Raised when an invalid public/private format, or encoding is specified when serializing an asymmetric key pair |
|
Thrown when a network interface or IP version (e.g. |
|
Thrown when code attempts to access something that wasn’t fully configured / instantiated by the user. |
|
Base exception for all custom Privex exceptions |
|
Raised when an error appears to have been returned after calling an external command (e.g. |