Lines Matching refs:ErrorType

20 pub enum ErrorType {  enum
67 impl ErrorType { implementation
70 ErrorType::NullArgument => nsIBits::ERROR_TYPE_NULL_ARGUMENT, in bits_code()
71 ErrorType::InvalidArgument => nsIBits::ERROR_TYPE_INVALID_ARGUMENT, in bits_code()
72 ErrorType::NotInitialized => nsIBits::ERROR_TYPE_NOT_INITIALIZED, in bits_code()
73 ErrorType::NoUtf8Conversion => nsIBits::ERROR_TYPE_NO_UTF8_CONVERSION, in bits_code()
74 ErrorType::InvalidGuid => nsIBits::ERROR_TYPE_INVALID_GUID, in bits_code()
75 ErrorType::PipeNotConnected => nsIBits::ERROR_TYPE_PIPE_NOT_CONNECTED, in bits_code()
76 ErrorType::PipeTimeout => nsIBits::ERROR_TYPE_PIPE_TIMEOUT, in bits_code()
77 ErrorType::PipeBadWriteCount => nsIBits::ERROR_TYPE_PIPE_BAD_WRITE_COUNT, in bits_code()
78 ErrorType::PipeApiError => nsIBits::ERROR_TYPE_PIPE_API_ERROR, in bits_code()
79 ErrorType::FailedToCreateBitsJob => nsIBits::ERROR_TYPE_FAILED_TO_CREATE_BITS_JOB, in bits_code()
80 ErrorType::FailedToAddFileToJob => nsIBits::ERROR_TYPE_FAILED_TO_ADD_FILE_TO_JOB, in bits_code()
81 ErrorType::FailedToApplyBitsJobSettings => { in bits_code()
84 ErrorType::FailedToResumeBitsJob => nsIBits::ERROR_TYPE_FAILED_TO_RESUME_BITS_JOB, in bits_code()
85 ErrorType::OtherBitsError => nsIBits::ERROR_TYPE_OTHER_BITS_ERROR, in bits_code()
86 ErrorType::OtherBitsClientError => nsIBits::ERROR_TYPE_OTHER_BITS_CLIENT_ERROR, in bits_code()
87 ErrorType::BitsJobNotFound => nsIBits::ERROR_TYPE_BITS_JOB_NOT_FOUND, in bits_code()
88 ErrorType::FailedToGetBitsJob => nsIBits::ERROR_TYPE_FAILED_TO_GET_BITS_JOB, in bits_code()
89 ErrorType::FailedToSuspendBitsJob => nsIBits::ERROR_TYPE_FAILED_TO_SUSPEND_BITS_JOB, in bits_code()
90 ErrorType::FailedToCompleteBitsJob => nsIBits::ERROR_TYPE_FAILED_TO_COMPLETE_BITS_JOB, in bits_code()
91 ErrorType::PartiallyCompletedBitsJob => { in bits_code()
94 ErrorType::FailedToCancelBitsJob => nsIBits::ERROR_TYPE_FAILED_TO_CANCEL_BITS_JOB, in bits_code()
95 ErrorType::MissingResultData => nsIBits::ERROR_TYPE_MISSING_RESULT_DATA, in bits_code()
96 ErrorType::MissingCallback => nsIBits::ERROR_TYPE_MISSING_CALLBACK, in bits_code()
97 ErrorType::CallbackOnWrongThread => nsIBits::ERROR_TYPE_CALLBACK_ON_WRONG_THREAD, in bits_code()
98 ErrorType::MissingBitsService => nsIBits::ERROR_TYPE_MISSING_BITS_SERVICE, in bits_code()
99 ErrorType::BitsServiceOnWrongThread => nsIBits::ERROR_TYPE_BITS_SERVICE_ON_WRONG_THREAD, in bits_code()
100 ErrorType::MissingBitsRequest => nsIBits::ERROR_TYPE_MISSING_BITS_REQUEST, in bits_code()
101 ErrorType::BitsRequestOnWrongThread => nsIBits::ERROR_TYPE_BITS_REQUEST_ON_WRONG_THREAD, in bits_code()
102 ErrorType::MissingObserver => nsIBits::ERROR_TYPE_MISSING_OBSERVER, in bits_code()
103 ErrorType::ObserverOnWrongThread => nsIBits::ERROR_TYPE_OBSERVER_ON_WRONG_THREAD, in bits_code()
104 ErrorType::MissingContext => nsIBits::ERROR_TYPE_MISSING_CONTEXT, in bits_code()
105 ErrorType::ContextOnWrongThread => nsIBits::ERROR_TYPE_CONTEXT_ON_WRONG_THREAD, in bits_code()
106 ErrorType::FailedToStartThread => nsIBits::ERROR_TYPE_FAILED_TO_START_THREAD, in bits_code()
107 ErrorType::FailedToConstructTaskRunnable => { in bits_code()
110 ErrorType::FailedToDispatchRunnable => nsIBits::ERROR_TYPE_FAILED_TO_DISPATCH_RUNNABLE, in bits_code()
111 ErrorType::TransferAlreadyComplete => nsIBits::ERROR_TYPE_TRANSFER_ALREADY_COMPLETE, in bits_code()
112 ErrorType::OperationAlreadyInProgress => { in bits_code()
115 ErrorType::MissingBitsClient => nsIBits::ERROR_TYPE_MISSING_BITS_CLIENT, in bits_code()
116 ErrorType::FailedToGetJobStatus => nsIBits::ERROR_TYPE_FAILED_TO_GET_JOB_STATUS, in bits_code()
117 ErrorType::BitsStateError => nsIBits::ERROR_TYPE_BITS_STATE_ERROR, in bits_code()
118 ErrorType::BitsStateTransientError => nsIBits::ERROR_TYPE_BITS_STATE_TRANSIENT_ERROR, in bits_code()
119 ErrorType::BitsStateCancelled => nsIBits::ERROR_TYPE_BITS_STATE_CANCELLED, in bits_code()
120 ErrorType::BitsStateUnexpected => nsIBits::ERROR_TYPE_BITS_STATE_UNEXPECTED, in bits_code()
121 ErrorType::FailedToConnectToBcm => nsIBits::ERROR_TYPE_FAILED_TO_CONNECT_TO_BCM, in bits_code()
127 impl From<&PipeError> for ErrorType { implementation
130 PipeError::NotConnected => ErrorType::PipeNotConnected, in from()
131 PipeError::Timeout => ErrorType::PipeTimeout, in from()
132 PipeError::WriteCount(_, _) => ErrorType::PipeBadWriteCount, in from()
133 PipeError::Api(_) => ErrorType::PipeApiError, in from()
182 pub error_type: ErrorType,
190 error_type: ErrorType, in new() argument
204 error_type: ErrorType::MissingResultData, in missing_result()
212 error_type: ErrorType, in from_nsresult() argument
226 error_type: ErrorType, in from_hresult() argument
240 error_type: ErrorType, in from_comedy() argument
288 error_type: ErrorType::InvalidArgument, in from()
294 error_type: ErrorType::FailedToCreateBitsJob, in from()
300 error_type: ErrorType::FailedToAddFileToJob, in from()
306 error_type: ErrorType::FailedToApplyBitsJobSettings, in from()
312 error_type: ErrorType::FailedToResumeBitsJob, in from()
318 error_type: ErrorType::FailedToConnectToBcm, in from()
324 error_type: ErrorType::OtherBitsError, in from()
330 error_type: ErrorType::OtherBitsClientError, in from()
345 error_type: ErrorType::InvalidArgument, in from()
351 error_type: ErrorType::BitsJobNotFound, in from()
357 error_type: ErrorType::FailedToGetBitsJob, in from()
363 error_type: ErrorType::FailedToConnectToBcm, in from()
369 error_type: ErrorType::OtherBitsError, in from()
375 error_type: ErrorType::OtherBitsClientError, in from()
390 error_type: ErrorType::BitsJobNotFound, in from()
396 error_type: ErrorType::FailedToGetBitsJob, in from()
402 error_type: ErrorType::FailedToSuspendBitsJob, in from()
408 error_type: ErrorType::FailedToConnectToBcm, in from()
414 error_type: ErrorType::OtherBitsError, in from()
420 error_type: ErrorType::OtherBitsClientError, in from()
435 error_type: ErrorType::BitsJobNotFound, in from()
441 error_type: ErrorType::FailedToGetBitsJob, in from()
447 error_type: ErrorType::FailedToResumeBitsJob, in from()
453 error_type: ErrorType::FailedToConnectToBcm, in from()
459 error_type: ErrorType::OtherBitsError, in from()
465 error_type: ErrorType::OtherBitsClientError, in from()
480 error_type: ErrorType::BitsJobNotFound, in from()
486 error_type: ErrorType::FailedToGetBitsJob, in from()
492 error_type: ErrorType::FailedToApplyBitsJobSettings, in from()
498 error_type: ErrorType::FailedToConnectToBcm, in from()
504 error_type: ErrorType::OtherBitsError, in from()
510 error_type: ErrorType::OtherBitsClientError, in from()
527 error_type: ErrorType::BitsJobNotFound, in from()
533 error_type: ErrorType::FailedToGetBitsJob, in from()
539 error_type: ErrorType::FailedToApplyBitsJobSettings, in from()
545 error_type: ErrorType::FailedToConnectToBcm, in from()
551 error_type: ErrorType::OtherBitsError, in from()
557 error_type: ErrorType::OtherBitsClientError, in from()
572 error_type: ErrorType::InvalidArgument, in from()
578 error_type: ErrorType::BitsJobNotFound, in from()
584 error_type: ErrorType::OtherBitsClientError, in from()
599 error_type: ErrorType::BitsJobNotFound, in from()
605 error_type: ErrorType::FailedToGetBitsJob, in from()
611 error_type: ErrorType::FailedToCompleteBitsJob, in from()
617 error_type: ErrorType::PartiallyCompletedBitsJob, in from()
623 error_type: ErrorType::FailedToConnectToBcm, in from()
629 error_type: ErrorType::OtherBitsError, in from()
635 error_type: ErrorType::OtherBitsClientError, in from()
650 error_type: ErrorType::BitsJobNotFound, in from()
656 error_type: ErrorType::FailedToGetBitsJob, in from()
662 error_type: ErrorType::FailedToCancelBitsJob, in from()
668 error_type: ErrorType::FailedToConnectToBcm, in from()
674 error_type: ErrorType::OtherBitsError, in from()
680 error_type: ErrorType::OtherBitsClientError, in from()