User Tools

Site Tools


scriptring:erestresult

This is an old revision of the document!


ERestResult

scripts/GameLib/online/RestApi.c

// states, (result + error) codes
// defined in C++
enum ERestResult
{
	EREST_EMPTY,				// not initialized
	EREST_PENDING,				// awaiting processing
	EREST_FEEDING,				// awaiting incoming data
	EREST_SUCCESS,				// result and/ or data are ready (success), awaiting data processing to be finished (no longer blocking queue processing)
	EREST_PROCESSED,			// finished (either successfully or with failure) and eill be removed ASAP

	EREST_ERROR,				// (state >= EREST_ERROR) == error happened
	EREST_ERROR_CLIENTERROR,	//  (EREST_ERROR == EREST_ERROR_CLIENTERROR)
	EREST_ERROR_SERVERERROR,
	EREST_ERROR_APPERROR,
	EREST_ERROR_TIMEOUT,
	EREST_ERROR_NOTIMPLEMENTED,
	EREST_ERROR_UNKNOWN,
};
scriptring/erestresult.1661436847.txt.gz · Last modified: 2022/08/25 15:14 by jerryhopper

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki