mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 21:32:50 +00:00
sceNpCommerce: add error constants
This commit is contained in:
parent
a08d60fbbe
commit
0b2e0a1b28
@ -212,6 +212,78 @@ void fmt_class_string<SceNpError>::format(std::string& out, u64 arg)
|
||||
STR_CASE(SCE_NP_COMMUNITY_SERVER_ERROR_TITLE_USER_STORAGE_END_OF_SERVICE);
|
||||
STR_CASE(SCE_NP_COMMUNITY_SERVER_ERROR_TITLE_USER_STORAGE_MAINTENANCE);
|
||||
STR_CASE(SCE_NP_COMMUNITY_SERVER_ERROR_UNSPECIFIED);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_NOT_INITIALIZED);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_ALREADY_INITIALIZED);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_OUT_OF_MEMORY);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_UNSUPPORTED_VERSION);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_CTX_MAX);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_CTX_NOT_FOUND);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_CTXID_NOT_AVAILABLE);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_REQ_MAX);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_REQ_NOT_FOUND);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_REQID_NOT_AVAILABLE);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_INVALID_CATEGORY_ID);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_INVALID_LANG_CODE);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_REQ_BUSY);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_INSUFFICIENT_BUFFER);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_INVALID_REQ_STATE);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_INVALID_CTX_STATE);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_UNKNOWN);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_INVALID_REQ_TYPE);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_INVALID_MEMORY_CONTAINER);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_INSUFFICIENT_MEMORY_CONTAINER);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_INVALID_DATA_FLAG_TYPE);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_INVALID_DATA_FLAG_STATE);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_DATA_FLAG_NUM_NOT_FOUND);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_DATA_FLAG_INFO_NOT_FOUND);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_INVALID_PROVIDER_ID);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_INVALID_DATA_FLAG_NUM);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_INVALID_SKU_ID);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_INVALID_DATA_FLAG_ID);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_GPC_SEND_REQUEST);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_GDF_SEND_REQUEST);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_SDF_SEND_REQUEST);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_PARSE_PRODUCT_CATEGORY);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_CURRENCY_INFO_NOT_FOUND);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_CATEGORY_INFO_NOT_FOUND);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_CHILD_CATEGORY_COUNT_NOT_FOUND);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_CHILD_CATEGORY_INFO_NOT_FOUND);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_SKU_COUNT_NOT_FOUND);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_SKU_INFO_NOT_FOUND);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_PLUGIN_LOAD_FAILURE);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_INVALID_SKU_NUM);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_INVALID_GPC_PROTOCOL_VERSION);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_CHECKOUT_UNEXPECTED);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_CHECKOUT_OUT_OF_SERVICE);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_CHECKOUT_INVALID_SKU);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_CHECKOUT_SERVER_BUSY);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_CHECKOUT_MAINTENANCE);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_CHECKOUT_ACCOUNT_SUSPENDED);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_CHECKOUT_OVER_SPENDING_LIMIT);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_CHECKOUT_NOT_ENOUGH_MONEY);
|
||||
STR_CASE(SCE_NP_COMMERCE_ERROR_CHECKOUT_UNKNOWN);
|
||||
STR_CASE(SCE_NP_COMMERCE_BROWSE_SERVER_ERROR_UNKNOWN);
|
||||
STR_CASE(SCE_NP_COMMERCE_BROWSE_SERVER_ERROR_INVALID_CREDENTIALS);
|
||||
STR_CASE(SCE_NP_COMMERCE_BROWSE_SERVER_ERROR_INVALID_CATEGORY_ID);
|
||||
STR_CASE(SCE_NP_COMMERCE_BROWSE_SERVER_ERROR_SERVICE_END);
|
||||
STR_CASE(SCE_NP_COMMERCE_BROWSE_SERVER_ERROR_SERVICE_STOP);
|
||||
STR_CASE(SCE_NP_COMMERCE_BROWSE_SERVER_ERROR_SERVICE_BUSY);
|
||||
STR_CASE(SCE_NP_COMMERCE_BROWSE_SERVER_ERROR_UNSUPPORTED_VERSION);
|
||||
STR_CASE(SCE_NP_COMMERCE_BROWSE_SERVER_ERROR_INTERNAL_SERVER);
|
||||
STR_CASE(SCE_NP_COMMERCE_GDF_SERVER_ERROR_UNKNOWN);
|
||||
STR_CASE(SCE_NP_COMMERCE_GDF_SERVER_ERROR_INVALID_CREDENTIALS);
|
||||
STR_CASE(SCE_NP_COMMERCE_GDF_SERVER_ERROR_INVALID_FLAGLIST);
|
||||
STR_CASE(SCE_NP_COMMERCE_GDF_SERVER_ERROR_SERVICE_END);
|
||||
STR_CASE(SCE_NP_COMMERCE_GDF_SERVER_ERROR_SERVICE_STOP);
|
||||
STR_CASE(SCE_NP_COMMERCE_GDF_SERVER_ERROR_SERVICE_BUSY);
|
||||
STR_CASE(SCE_NP_COMMERCE_GDF_SERVER_ERROR_UNSUPPORTED_VERSION);
|
||||
STR_CASE(SCE_NP_COMMERCE_SDF_SERVER_ERROR_UNKNOWN);
|
||||
STR_CASE(SCE_NP_COMMERCE_SDF_SERVER_ERROR_INVALID_CREDENTIALS);
|
||||
STR_CASE(SCE_NP_COMMERCE_SDF_SERVER_ERROR_INVALID_FLAGLIST);
|
||||
STR_CASE(SCE_NP_COMMERCE_SDF_SERVER_ERROR_SERVICE_END);
|
||||
STR_CASE(SCE_NP_COMMERCE_SDF_SERVER_ERROR_SERVICE_STOP);
|
||||
STR_CASE(SCE_NP_COMMERCE_SDF_SERVER_ERROR_SERVICE_BUSY);
|
||||
STR_CASE(SCE_NP_COMMERCE_SDF_SERVER_ERROR_UNSUPPORTED_VERSION);
|
||||
STR_CASE(SCE_NP_DRM_ERROR_LICENSE_NOT_FOUND);
|
||||
STR_CASE(SCE_NP_DRM_ERROR_OUT_OF_MEMORY);
|
||||
STR_CASE(SCE_NP_DRM_ERROR_INVALID_PARAM);
|
||||
|
@ -242,6 +242,85 @@ enum SceNpError : u32
|
||||
SCE_NP_COMMUNITY_SERVER_ERROR_TITLE_USER_STORAGE_MAINTENANCE = 0x8002a4ac,
|
||||
SCE_NP_COMMUNITY_SERVER_ERROR_UNSPECIFIED = 0x8002a4ff,
|
||||
|
||||
// COMMERCE
|
||||
SCE_NP_COMMERCE_ERROR_NOT_INITIALIZED = 0x80029401,
|
||||
SCE_NP_COMMERCE_ERROR_ALREADY_INITIALIZED = 0x80029402,
|
||||
SCE_NP_COMMERCE_ERROR_OUT_OF_MEMORY = 0x80029403,
|
||||
SCE_NP_COMMERCE_ERROR_UNSUPPORTED_VERSION = 0x80029404,
|
||||
SCE_NP_COMMERCE_ERROR_CTX_MAX = 0x80029405,
|
||||
SCE_NP_COMMERCE_ERROR_CTX_NOT_FOUND = 0x80029406,
|
||||
SCE_NP_COMMERCE_ERROR_CTXID_NOT_AVAILABLE = 0x80029407,
|
||||
SCE_NP_COMMERCE_ERROR_REQ_MAX = 0x80029408,
|
||||
SCE_NP_COMMERCE_ERROR_REQ_NOT_FOUND = 0x80029409,
|
||||
SCE_NP_COMMERCE_ERROR_REQID_NOT_AVAILABLE = 0x8002940a,
|
||||
SCE_NP_COMMERCE_ERROR_INVALID_CATEGORY_ID = 0x8002940b,
|
||||
SCE_NP_COMMERCE_ERROR_INVALID_LANG_CODE = 0x8002940c,
|
||||
SCE_NP_COMMERCE_ERROR_REQ_BUSY = 0x8002940d,
|
||||
SCE_NP_COMMERCE_ERROR_INSUFFICIENT_BUFFER = 0x8002940e,
|
||||
SCE_NP_COMMERCE_ERROR_INVALID_REQ_STATE = 0x8002940f,
|
||||
SCE_NP_COMMERCE_ERROR_INVALID_CTX_STATE = 0x80029410,
|
||||
SCE_NP_COMMERCE_ERROR_UNKNOWN = 0x80029411,
|
||||
SCE_NP_COMMERCE_ERROR_INVALID_REQ_TYPE = 0x80029412,
|
||||
SCE_NP_COMMERCE_ERROR_INVALID_MEMORY_CONTAINER = 0x80029413,
|
||||
SCE_NP_COMMERCE_ERROR_INSUFFICIENT_MEMORY_CONTAINER = 0x80029414,
|
||||
SCE_NP_COMMERCE_ERROR_INVALID_DATA_FLAG_TYPE = 0x80029415,
|
||||
SCE_NP_COMMERCE_ERROR_INVALID_DATA_FLAG_STATE = 0x80029416,
|
||||
SCE_NP_COMMERCE_ERROR_DATA_FLAG_NUM_NOT_FOUND = 0x80029417,
|
||||
SCE_NP_COMMERCE_ERROR_DATA_FLAG_INFO_NOT_FOUND = 0x80029418,
|
||||
SCE_NP_COMMERCE_ERROR_INVALID_PROVIDER_ID = 0x80029419,
|
||||
SCE_NP_COMMERCE_ERROR_INVALID_DATA_FLAG_NUM = 0x8002941a,
|
||||
SCE_NP_COMMERCE_ERROR_INVALID_SKU_ID = 0x8002941b,
|
||||
SCE_NP_COMMERCE_ERROR_INVALID_DATA_FLAG_ID = 0x8002941c,
|
||||
SCE_NP_COMMERCE_ERROR_GPC_SEND_REQUEST = 0x8002941d,
|
||||
SCE_NP_COMMERCE_ERROR_GDF_SEND_REQUEST = 0x8002941e,
|
||||
SCE_NP_COMMERCE_ERROR_SDF_SEND_REQUEST = 0x8002941f,
|
||||
|
||||
SCE_NP_COMMERCE_ERROR_PARSE_PRODUCT_CATEGORY = 0x80029421,
|
||||
SCE_NP_COMMERCE_ERROR_CURRENCY_INFO_NOT_FOUND = 0x80029422,
|
||||
SCE_NP_COMMERCE_ERROR_CATEGORY_INFO_NOT_FOUND = 0x80029423,
|
||||
SCE_NP_COMMERCE_ERROR_CHILD_CATEGORY_COUNT_NOT_FOUND = 0x80029424,
|
||||
SCE_NP_COMMERCE_ERROR_CHILD_CATEGORY_INFO_NOT_FOUND = 0x80029425,
|
||||
SCE_NP_COMMERCE_ERROR_SKU_COUNT_NOT_FOUND = 0x80029426,
|
||||
SCE_NP_COMMERCE_ERROR_SKU_INFO_NOT_FOUND = 0x80029427,
|
||||
SCE_NP_COMMERCE_ERROR_PLUGIN_LOAD_FAILURE = 0x80029428,
|
||||
SCE_NP_COMMERCE_ERROR_INVALID_SKU_NUM = 0x80029429,
|
||||
SCE_NP_COMMERCE_ERROR_INVALID_GPC_PROTOCOL_VERSION = 0x8002942a,
|
||||
|
||||
SCE_NP_COMMERCE_ERROR_CHECKOUT_UNEXPECTED = 0x80029430,
|
||||
SCE_NP_COMMERCE_ERROR_CHECKOUT_OUT_OF_SERVICE = 0x80029431,
|
||||
SCE_NP_COMMERCE_ERROR_CHECKOUT_INVALID_SKU = 0x80029432,
|
||||
SCE_NP_COMMERCE_ERROR_CHECKOUT_SERVER_BUSY = 0x80029433,
|
||||
SCE_NP_COMMERCE_ERROR_CHECKOUT_MAINTENANCE = 0x80029434,
|
||||
SCE_NP_COMMERCE_ERROR_CHECKOUT_ACCOUNT_SUSPENDED = 0x80029435,
|
||||
SCE_NP_COMMERCE_ERROR_CHECKOUT_OVER_SPENDING_LIMIT = 0x80029436,
|
||||
SCE_NP_COMMERCE_ERROR_CHECKOUT_NOT_ENOUGH_MONEY = 0x80029437,
|
||||
SCE_NP_COMMERCE_ERROR_CHECKOUT_UNKNOWN = 0x80029438,
|
||||
|
||||
SCE_NP_COMMERCE_BROWSE_SERVER_ERROR_UNKNOWN = 0x80029600,
|
||||
SCE_NP_COMMERCE_BROWSE_SERVER_ERROR_INVALID_CREDENTIALS = 0x80029601,
|
||||
SCE_NP_COMMERCE_BROWSE_SERVER_ERROR_INVALID_CATEGORY_ID = 0x80029602,
|
||||
SCE_NP_COMMERCE_BROWSE_SERVER_ERROR_SERVICE_END = 0x80029603,
|
||||
SCE_NP_COMMERCE_BROWSE_SERVER_ERROR_SERVICE_STOP = 0x80029604,
|
||||
SCE_NP_COMMERCE_BROWSE_SERVER_ERROR_SERVICE_BUSY = 0x80029605,
|
||||
SCE_NP_COMMERCE_BROWSE_SERVER_ERROR_UNSUPPORTED_VERSION = 0x80029606,
|
||||
SCE_NP_COMMERCE_BROWSE_SERVER_ERROR_INTERNAL_SERVER = 0x80029680,
|
||||
|
||||
SCE_NP_COMMERCE_GDF_SERVER_ERROR_UNKNOWN = 0x80029d00,
|
||||
SCE_NP_COMMERCE_GDF_SERVER_ERROR_INVALID_CREDENTIALS = 0x80029d01,
|
||||
SCE_NP_COMMERCE_GDF_SERVER_ERROR_INVALID_FLAGLIST = 0x80029d02,
|
||||
SCE_NP_COMMERCE_GDF_SERVER_ERROR_SERVICE_END = 0x80029d03,
|
||||
SCE_NP_COMMERCE_GDF_SERVER_ERROR_SERVICE_STOP = 0x80029d04,
|
||||
SCE_NP_COMMERCE_GDF_SERVER_ERROR_SERVICE_BUSY = 0x80029d05,
|
||||
SCE_NP_COMMERCE_GDF_SERVER_ERROR_UNSUPPORTED_VERSION = 0x80029d06,
|
||||
|
||||
SCE_NP_COMMERCE_SDF_SERVER_ERROR_UNKNOWN = 0x80029e00,
|
||||
SCE_NP_COMMERCE_SDF_SERVER_ERROR_INVALID_CREDENTIALS = 0x80029e01,
|
||||
SCE_NP_COMMERCE_SDF_SERVER_ERROR_INVALID_FLAGLIST = 0x80029e02,
|
||||
SCE_NP_COMMERCE_SDF_SERVER_ERROR_SERVICE_END = 0x80029e03,
|
||||
SCE_NP_COMMERCE_SDF_SERVER_ERROR_SERVICE_STOP = 0x80029e04,
|
||||
SCE_NP_COMMERCE_SDF_SERVER_ERROR_SERVICE_BUSY = 0x80029e05,
|
||||
SCE_NP_COMMERCE_SDF_SERVER_ERROR_UNSUPPORTED_VERSION = 0x80029e06,
|
||||
|
||||
// DRM
|
||||
SCE_NP_DRM_ERROR_OUT_OF_MEMORY = 0x80029501,
|
||||
SCE_NP_DRM_ERROR_INVALID_PARAM = 0x80029502,
|
||||
|
Loading…
x
Reference in New Issue
Block a user