v3.1.2
2020.3+
Enum EconomyExceptionReason
An enum of possible reasons that Economy would throw an exception. These are mapped to particular HTTP status codes.
Namespace: Unity.Services.Economy
Syntax
public enum EconomyExceptionReason : long
Fields
Name | Description | Value |
---|---|---|
Unknown | 0 | |
NetworkError | 1 | |
ConfigAssignmentHashInvalid | 3 | |
ConfigNotSynced | 4 | |
InvalidArgument | 400 | |
Unauthorized | 401 | |
Forbidden | 403 | |
EntityNotFound | 404 | |
RequestTimeOut | 408 | |
Conflict | 409 | |
UnprocessableTransaction | 422 | |
RateLimited | 429 | |
InternalServerError | 500 | |
NotImplemented | 501 | |
BadGateway | 502 | |
ServiceUnavailable | 503 | |
GatewayTimeout | 504 |