outline exceptions#

outline.exceptions module#

Exceptions for the Outline Wrapper

exception outline.exceptions.OutlineAccessKeyNotFound[source]#

Bases: OutlineException

Raised when an access key is not found

match = 'Access key not found'#
exception outline.exceptions.OutlineErrorHostname[source]#

Bases: OutlineException

Raised when an error occurs while changing the hostname

match = 'An internal error occurred.\nThis could be thrown if there were network\nerrors while validating the hostname'#
exception outline.exceptions.OutlineException[source]#

Bases: Exception

Base class for all exceptions

match = ''#
exception outline.exceptions.OutlineInvalidDataLimit[source]#

Bases: OutlineException

Raised when a data limit is invalid

match = 'Invalid data limit'#
exception outline.exceptions.OutlineInvalidHostname[source]#

Bases: OutlineException

Raised when a hostname or IP is invalid

match = 'An invalid hostname or IP address was provided'#
exception outline.exceptions.OutlineInvalidName[source]#

Bases: OutlineException

Raised when a name is invalid

match = 'Invalid name'#
exception outline.exceptions.OutlineInvalidPort[source]#

Bases: OutlineException

Raised when a port is invalid

match = 'Invalid port number, must be between 1 and 65535'#
exception outline.exceptions.OutlinePortAlreadyInUse[source]#

Bases: OutlineException

Raised when a port is already in use

match = 'Port already in use'#