Enum steamworks::SteamError [] [src]

pub enum SteamError {
    InitFailed,
    Generic,
    NoConnection,
    InvalidPassword,
    LoggedInElsewhere,
    InvalidProtocolVersion,
    InvalidParameter,
    FileNotFound,
    Busy,
    InvalidState,
    InvalidName,
    InvalidEmail,
    DuplicateName,
    AccessDenied,
    Timeout,
    Banned,
    AccountNotFound,
    InvalidSteamID,
    ServiceUnavailable,
    NotLoggedOn,
    Pending,
    EncryptionFailure,
    InsufficientPrivilege,
    LimitExceeded,
    Revoked,
    Expired,
    AlreadyRedeemed,
    DuplicateRequest,
    AlreadyOwned,
    IPNotFound,
    PersistFailed,
    LockingFailed,
    LogonSessionReplaced,
    ConnectFailed,
    HandshakeFailed,
    IOFailure,
    RemoteDisconnect,
    ShoppingCartNotFound,
    Blocked,
    Ignored,
    NoMatch,
    AccountDisabled,
    ServiceReadOnly,
    AccountNotFeatured,
    AdministratorOK,
    ContentVersion,
    TryAnotherCM,
    PasswordRequiredToKickSession,
    AlreadyLoggedInElsewhere,
    Suspended,
    Cancelled,
    DataCorruption,
    DiskFull,
    RemoteCallFailed,
    PasswordUnset,
    ExternalAccountUnlinked,
    PSNTicketInvalid,
    ExternalAccountAlreadyLinked,
    RemoteFileConflict,
    IllegalPassword,
    SameAsPreviousValue,
    AccountLogonDenied,
    CannotUseOldPassword,
    InvalidLoginAuthCode,
    AccountLogonDeniedNoMail,
    HardwareNotCapableOfIPT,
    IPTInitError,
    ParentalControlRestricted,
    FacebookQueryError,
    ExpiredLoginAuthCode,
    IPLoginRestrictionFailed,
    AccountLockedDown,
    AccountLogonDeniedVerifiedEmailRequired,
    NoMatchingURL,
    BadResponse,
    RequirePasswordReEntry,
    ValueOutOfRange,
    UnexpectedError,
    Disabled,
    InvalidCEGSubmission,
    RestrictedDevice,
    RegionLocked,
    RateLimitExceeded,
    AccountLoginDeniedNeedTwoFactor,
    ItemDeleted,
    AccountLoginDeniedThrottle,
    TwoFactorCodeMismatch,
    TwoFactorActivationCodeMismatch,
    AccountAssociatedToMultiplePartners,
    NotModified,
    NoMobileDevice,
    TimeNotSynced,
    SmsCodeFailed,
    AccountLimitExceeded,
    AccountActivityLimitExceeded,
    PhoneActivityLimitExceeded,
    RefundToWallet,
    EmailSendFailure,
    NotSettled,
    NeedCaptcha,
    GSLTDenied,
    GSOwnerDenied,
    InvalidItemType,
    IPBanned,
    GSLTExpired,
    InsufficientFunds,
    TooManyPending,
    NoSiteLicensesFound,
    WGNetworkSendExceeded,
    AccountNotFriends,
    LimitedUserAccount,
}

Covers errors that can be returned by the steamworks API

Documentation is based on official documentation which doesn't always explain when an error could be returned or its meaning.

Variants

Returned if the steamworks API fails to initialize.

Returned if the steamworks API fails to perform an action

Returned when steam fails performing a network request

Return when the password or ticked used is invalid

Returned when the user is already logged in at another location

Returned when the protocol version is incorrect

Returned when a passed parameter is invalid

Returned when a file is not found

Returned when the called method was busy

No action was performed

Returned when the called object was in an invalid state

Returned when the name is invalid

Returned when the email is invalid

Returned when the name is not unique

Returned when access is denied

Returned when the operation timed out

Returned when the user is VAC2 banned

Returned when the account is not found

Returned when the passed steam id is invalid

Returned when the requested service in unavailable

Returned when the user is not logged on

Returned when the request is pending (e.g. in progress/waiting)

Returned when encryption or decryption fails

Returned when you have insufficient privilege to perform the action

Returned when you have hit the API limits

Returned when the user's access has been revoked (e.g. revoked guess passes)

Returned when the user's access has expired

Returned when the licence/guest pass has already been redeemed

Returned when the requested action is a duplicate and has already occurred.

The action will be ignored

Returned when all the games in the guest pass are already owned by the user

Returned when the ip address is not found

Returned when the change failed to write to the data store

Returned when the operation failed to acquire the access lock

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Returned when the requested shopping cart wasn't found

Returned when the user blocks an action

Returned when the target user is ignoring the sender

Returned when nothing matching the request is found

Undocumented

Returned when the service isn't accepting content changes at this moment

Returned when the account doesn't have value so the feature isn't available

Allowed to take this action but only because the requester is an admin

Returned when there is a version mismatch in content transmitted within the steam protocol

Returned when the current CM cannot service the user's request.

The user should try another.

Returned when the user is already logged in elsewhere and the cached credential login failed.

Returned when the user is already logged in elsewhere, you must wait before trying again

Returned when a long running operation (e.g. download) is suspended/paused.

Returned when an operation is cancelled

Returned when an operation is cancelled due to data corruption

Returned when an operation is cancelled due to running out of disk space

Returned when a remote call or an IPC call failed

Returned when a password could not be verified as its unset server side

Returned when the external account is not linked to a steam account

Returned when the PSN ticket is invalid

Returned when the external account is already linked to a steam account

Returned when sync cannot resume due to a file conflict

Returned when the requested new password is not legal

Returned when the new value is the same as the previous value

Returned when the account logon is denied to 2nd factor authentication failure

Returned when the requested new password is the same as the previous password

Returned when logging in is denied due to an invalid auth code

Returned when logging in fails due to no email being set for 2nd factor authentication

Undocumented

Undocumented

Returned when a operation fails due to parental control restrictions for a user

Returned when a facebook query returns an error

Returned when account login is denied due to an expired auth code

Undocumented

Undocumented

Undocumented

Undocumented

Returned when something fails to parse/has a missing field

Returned when a user cannot complete the action until they re-enter their password

Returned when an entered value is outside the acceptable range

Returned when an error happens that the steamworks API didn't expect to happen

Returned when the requested service is disabled

Returned when the set of files submitted to the CEG server are not valid

Returned when the device being used is not allowed to perform this action

Returned when an action is prevented due to region restrictions

Returned when an action failed due to a temporary rate limit

Returned when a account needs to use a two-factor code to login

Returned when the item attempting to be accessed has been deleted

Returned when the account login failed and you should throttle the response to the possible attacker

Returned when the two factor code provided mismatched the expected one

Returned when the two factor activation code mismatched the expected one

Returned when the account has been associated with multiple partners

Returned when the data wasn't modified

Returned when the account doesn't have a mobile device associated with it

Returned when the current time is out of range or tolerance

Returned when the sms code failed to validate

Returned when too many accounts are accessing the requested resource

Returned when there have been too many changes to the account

Returned when there have been too many changes to the phone

Returned when the refund can not be sent to the payment method and the steam wallet must be used

Returned when steam failed to send an email

Returned when an action cannot be performed until the payment has settled

Returned when the user needs to provide a valid captcha

Returned when the game server login token owned by the token's owner been banned

Returned when the game server owner has been denied for other reasons (account lock, community ban, vac ban, missing phone)

Returned when the type of item attempted to be acted on is invalid

Returned when the IP address has been banned for taking this action

Returned when the game server login token has expired

It can be reset for use

Returned when the user does not have the wallet funds to complete the action

Returned when there are too many of the requested action pending already

Returned when there is no site licenses found

Returned when WG could not send a response because it exceeded the max network send size

Returned when the account is not mutually friends with the user

Returned when the user is limited

Trait Implementations

impl Debug for SteamError
[src]

[src]

Formats the value using the given formatter.

impl Fail for SteamError
[src]

[src]

Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more

[src]

Returns a reference to the Backtrace carried by this failure, if it carries one. Read more

[src]

Provides context for this failure. Read more

[src]

Wraps this failure in a compatibility wrapper that implements std::error::Error. Read more

[src]

Returns a iterator over the causes of this Fail with itself as the first item and the root_cause as the final item. Read more

[src]

Returns the "root cause" of this Fail - the last value in the cause chain which does not return an underlying cause. Read more

impl Display for SteamError
[src]

[src]

Formats the value using the given formatter. Read more

impl From<SResult> for SteamError
[src]

[src]

Performs the conversion.