libnrdpd.error¶
Exceptions and error codes for nrdpd.
-
exception
libnrdpd.error.
ConfigError
(err, msg)[source]¶ Bases:
libnrdpd.error.NrdpdError
Raised on errors related to the configuration file
-
exception
libnrdpd.error.
NetworkError
(err, msg)[source]¶ Bases:
libnrdpd.error.NrdpdError
Raised on network errors.
-
exception
libnrdpd.error.
NotComplete
(err, msg)[source]¶ Bases:
libnrdpd.error.NrdpdError
Raised when a task is being used when it’s not complete.
-
exception
libnrdpd.error.
NrdpdError
(err, msg)[source]¶ Bases:
Exception
Base exception for all exceptions emitted from libnrdp
-
msg
¶ Error message
-
-
class
libnrdpd.error.
Err
[source]¶ Bases:
enum.Enum
Enumeration of errors.
The primary purpose of this enum is to add a level of sub errors to the exceptions in this library.
-
INCOMPLETE
= 8¶ Task is in an incomplete state.
-
NOT_FOUND
= 6¶ Requested entity was not found.
-
NO_CONNECT
= 1¶ Error establishing network connection.
-
PARSE_ERROR
= 5¶ Parsing error encountered.
-
PERMISSION_DENIED
= 7¶ Permission was denied for the request.
-
REQUIRED_MISSING
= 4¶ A required option is missing.
-
TYPE_ERROR
= 2¶ Parameter type is invalid for the function.
-
VALUE_ERROR
= 3¶ The value is invalid for the use case.
-