#[repr(i32)]pub enum OriginError {
Show 81 variants
Success = 0,
Pending = 1,
General = -1,
InvalidHandle = -1_593_835_520,
OutOfMemory = -1_610_612_735,
NotImplemented = -1_593_835_518,
InvalidUser = -1_577_058_301,
InvalidArgument = -1_577_058_300,
NoCallbackSpecified = -1_577_058_299,
BufferTooSmall = -1_577_058_298,
TooManyValuesInList = -1_577_058_297,
NotFound = -1_577_058_296,
InvalidPersona = -1_577_058_295,
NoNetwork = -1_577_058_294,
NoService = -1_577_058_293,
NotLoggedIn = -1_577_058_292,
MandatoryOriginUpdatePending = -1_577_058_291,
AccountInUse = -1_577_058_290,
TooManyInstances = -1_593_835_505,
AlreadyExists = -1_560_281_072,
InvalidOperation = -1_577_058_287,
AgeRestricted = -1_577_058_286,
Banned = -1_577_058_285,
NotReady = -1_577_058_284,
SdkNotInitialized = -1_610_547_200,
SdkInvalidAllocatorDeallocatorCombination = -1_593_769_983,
SdkIsRunning = -1_576_992_766,
SdkNotAllResourcesReleased = -1_560_215_549,
SdkInvalidResource = -1_576_992_764,
SdkInternalError = -1_593_769_979,
SdkInternalBufferTooSmall = -1_593_769_978,
WarningSdkAlreadyInitialized = 1_107_361_793,
WarningSdkStillRunning = 1_107_361_794,
WarningSdkEnumeratorInUse = 1_107_361_795,
WarningSdkEnumeratorTerminated = 1_107_361_796,
CoreNotloaded = -1_610_481_664,
CoreLoginFailed = -1_593_704_447,
CoreAuthenticationFailed = -1_593_704_446,
CoreSendFailed = -1_593_704_444,
CoreReceiveFailed = -1_593_704_443,
CoreResourceNotFound = -1_593_704_442,
CoreIncompatibleVersion = -1_610_481_657,
CoreNotInstalled = -1_610_481_656,
WarningIgoNotloaded = 1_090_715_648,
WarningIgoSupportNotloaded = 1_090_715_649,
IgoIllegalAnchorPoint = -1_560_084_478,
IgoIllegalDockPoint = -1_560_084_477,
IgoNotAvailable = -1_560_084_476,
NoMultiplayerId = -1_576_730_624,
LsxInvalidResponse = -1_576_534_016,
LsxNoResponse = -1_593_311_231,
LsxInvalidRequest = -1_576_534_014,
CommerceNoSuchStore = -1_593_442_304,
CommerceNoSuchCatalog = -1_593_442_303,
CommerceInvalidReply = -1_593_442_302,
CommerceNoCategories = -1_576_665_085,
CommerceNoProducts = -1_576_665_084,
CommerceUnderageUser = -1_576_665_083,
CommerceDeprecatedStore = -1_576_665_082,
Proxy = -1_576_468_480,
SuccessProxyOk = 1_141_440_712,
SuccessProxyCreated = 1_141_440_713,
SuccessProxyAccepted = 1_141_440_714,
SuccessProxyNonAuthInfo = 1_141_440_715,
SuccessProxyNoContent = 1_141_440_716,
SuccessResetContent = 1_141_440_717,
SuccessPartialContent = 1_141_440_718,
ProxyBadRequest = -1_576_468_080,
ProxyUnauthorized = -1_576_468_079,
ProxyPaymentRequired = -1_576_468_078,
ProxyForbidden = -1_576_468_077,
ProxyNotFound = -1_576_468_076,
ProxyMethodNotAllowed = -1_576_468_075,
ProxyNotAcceptable = -1_576_468_074,
ProxyRequestTimeout = -1_576_468_072,
ProxyConflict = -1_576_468_071,
ProxyInternalError = -1_576_467_980,
ProxyNotImplemented = -1_576_467_979,
ProxyBadGateway = -1_576_467_978,
ProxyServiceUnavailable = -1_576_467_977,
ProxyGatewayTimeout = -1_576_467_976,
}Variants§
Success = 0
Pending = 1
General = -1
InvalidHandle = -1_593_835_520
OutOfMemory = -1_610_612_735
NotImplemented = -1_593_835_518
InvalidUser = -1_577_058_301
InvalidArgument = -1_577_058_300
NoCallbackSpecified = -1_577_058_299
BufferTooSmall = -1_577_058_298
TooManyValuesInList = -1_577_058_297
NotFound = -1_577_058_296
InvalidPersona = -1_577_058_295
NoNetwork = -1_577_058_294
NoService = -1_577_058_293
NotLoggedIn = -1_577_058_292
MandatoryOriginUpdatePending = -1_577_058_291
AccountInUse = -1_577_058_290
TooManyInstances = -1_593_835_505
AlreadyExists = -1_560_281_072
InvalidOperation = -1_577_058_287
AgeRestricted = -1_577_058_286
Banned = -1_577_058_285
NotReady = -1_577_058_284
SdkNotInitialized = -1_610_547_200
SdkInvalidAllocatorDeallocatorCombination = -1_593_769_983
SdkIsRunning = -1_576_992_766
SdkNotAllResourcesReleased = -1_560_215_549
SdkInvalidResource = -1_576_992_764
SdkInternalError = -1_593_769_979
SdkInternalBufferTooSmall = -1_593_769_978
WarningSdkAlreadyInitialized = 1_107_361_793
WarningSdkStillRunning = 1_107_361_794
WarningSdkEnumeratorInUse = 1_107_361_795
WarningSdkEnumeratorTerminated = 1_107_361_796
CoreNotloaded = -1_610_481_664
CoreLoginFailed = -1_593_704_447
CoreAuthenticationFailed = -1_593_704_446
CoreSendFailed = -1_593_704_444
CoreReceiveFailed = -1_593_704_443
CoreResourceNotFound = -1_593_704_442
CoreIncompatibleVersion = -1_610_481_657
CoreNotInstalled = -1_610_481_656
WarningIgoNotloaded = 1_090_715_648
WarningIgoSupportNotloaded = 1_090_715_649
IgoIllegalAnchorPoint = -1_560_084_478
IgoIllegalDockPoint = -1_560_084_477
IgoNotAvailable = -1_560_084_476
NoMultiplayerId = -1_576_730_624
LsxInvalidResponse = -1_576_534_016
LsxNoResponse = -1_593_311_231
LsxInvalidRequest = -1_576_534_014
CommerceNoSuchStore = -1_593_442_304
CommerceNoSuchCatalog = -1_593_442_303
CommerceInvalidReply = -1_593_442_302
CommerceNoCategories = -1_576_665_085
CommerceNoProducts = -1_576_665_084
CommerceUnderageUser = -1_576_665_083
CommerceDeprecatedStore = -1_576_665_082
Proxy = -1_576_468_480
SuccessProxyOk = 1_141_440_712
SuccessProxyCreated = 1_141_440_713
SuccessProxyAccepted = 1_141_440_714
SuccessProxyNonAuthInfo = 1_141_440_715
SuccessProxyNoContent = 1_141_440_716
SuccessResetContent = 1_141_440_717
SuccessPartialContent = 1_141_440_718
ProxyBadRequest = -1_576_468_080
ProxyPaymentRequired = -1_576_468_078
ProxyForbidden = -1_576_468_077
ProxyNotFound = -1_576_468_076
ProxyMethodNotAllowed = -1_576_468_075
ProxyNotAcceptable = -1_576_468_074
ProxyRequestTimeout = -1_576_468_072
ProxyConflict = -1_576_468_071
ProxyInternalError = -1_576_467_980
ProxyNotImplemented = -1_576_467_979
ProxyBadGateway = -1_576_467_978
ProxyGatewayTimeout = -1_576_467_976
Implementations§
Source§impl OriginError
impl OriginError
Sourcepub const fn is_success(&self) -> bool
pub const fn is_success(&self) -> bool
Returns true if this is a success code (0) or pending (1)
Sourcepub const fn is_warning(&self) -> bool
pub const fn is_warning(&self) -> bool
Returns true if this is a warning
Sourcepub fn error_area(&self) -> Option<ErrorArea>
pub fn error_area(&self) -> Option<ErrorArea>
Extract the error area from the error code
Sourcepub fn error_level(&self) -> Option<ErrorLevel>
pub fn error_level(&self) -> Option<ErrorLevel>
Extract the error level from the error code
Sourcepub const fn error_code(&self) -> i32
pub const fn error_code(&self) -> i32
Extract the specific error code within the area
Trait Implementations§
Source§impl Clone for OriginError
impl Clone for OriginError
Source§fn clone(&self) -> OriginError
fn clone(&self) -> OriginError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OriginError
impl Debug for OriginError
Source§impl<'de> Deserialize<'de> for OriginError
impl<'de> Deserialize<'de> for OriginError
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OriginError
impl PartialEq for OriginError
Source§impl Serialize for OriginError
impl Serialize for OriginError
impl Copy for OriginError
impl Eq for OriginError
impl StructuralPartialEq for OriginError
Auto Trait Implementations§
impl Freeze for OriginError
impl RefUnwindSafe for OriginError
impl Send for OriginError
impl Sync for OriginError
impl Unpin for OriginError
impl UnwindSafe for OriginError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more