pub enum InnerErrorCode {
Show 22 variants
Unknown = -1,
Success = 0,
RuntimeCreationFailedError = 101,
ParameterEmpty = 102,
DuplicateTaskError = 103,
EnqueueError = 104,
IoError = 105,
HttpError = 106,
ClientClosed = 107,
TaskNotFound = 108,
ResponseStatusError = 109,
MissingOrInvalidContentLengthFromHead = 110,
CommandSendFailed = 111,
CommandResponseFailed = 112,
ResponseParseError = 113,
InvalidRange = 114,
FileNotFound = 115,
ChecksumMismatch = 116,
InvalidTaskState = 117,
LockPoisoned = 118,
HttpClientBuildFailed = 119,
TaskCanceled = 120,
}Variants§
Unknown = -1
Unknown/unclassified error.
Success = 0
Success (non-error sentinel).
RuntimeCreationFailedError = 101
Runtime creation failed.
ParameterEmpty = 102
Required parameter is empty or invalid.
DuplicateTaskError = 103
The same file/task is already queued or running.
EnqueueError = 104
Failed to enqueue task.
IoError = 105
Local I/O operation failed.
HttpError = 106
HTTP request/response operation failed.
ClientClosed = 107
Client has already been closed and can no longer accept operations.
TaskNotFound = 108
Unknown task ID in control API.
ResponseStatusError = 109
HTTP response status is not expected.
MissingOrInvalidContentLengthFromHead = 110
Content-Length from HEAD is missing or invalid.
CommandSendFailed = 111
Failed to send command to scheduler thread.
CommandResponseFailed = 112
Command response channel closed unexpectedly.
ResponseParseError = 113
Failed to parse response payload (for example JSON).
InvalidRange = 114
Invalid HTTP range semantics or headers.
FileNotFound = 115
Local file does not exist.
ChecksumMismatch = 116
File checksum/signature does not match expected value.
InvalidTaskState = 117
Current task state does not allow requested operation.
LockPoisoned = 118
Internal lock is poisoned.
HttpClientBuildFailed = 119
Failed to build internal HTTP client.
TaskCanceled = 120
Task was canceled before reaching Complete.
Trait Implementations§
Source§impl Clone for InnerErrorCode
impl Clone for InnerErrorCode
Source§fn clone(&self) -> InnerErrorCode
fn clone(&self) -> InnerErrorCode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for InnerErrorCode
impl Debug for InnerErrorCode
Source§impl PartialEq for InnerErrorCode
impl PartialEq for InnerErrorCode
Source§fn eq(&self, other: &InnerErrorCode) -> bool
fn eq(&self, other: &InnerErrorCode) -> bool
self and other values to be equal, and is used by ==.