ReturnCodes

All the error codes AngelScript can return

Values

ValueMeaning
SuccessasERetCodes.asSUCCESS
ErrorasERetCodes.asERROR
ContextActiveasERetCodes.asCONTEXT_ACTIVE
ContextNotFinishedasERetCodes.asCONTEXT_NOT_FINISHED
ContextNotPreparedasERetCodes.asCONTEXT_NOT_PREPARED
InvalidArgasERetCodes.asINVALID_ARG
NoFunctionasERetCodes.asNO_FUNCTION
NotSupportedasERetCodes.asNOT_SUPPORTED
InvalidNameasERetCodes.asINVALID_NAME
NameTakenasERetCodes.asNAME_TAKEN
InvalidDeclarationasERetCodes.asINVALID_DECLARATION
InvalidObjectasERetCodes.asINVALID_OBJECT
InvalidTypeasERetCodes.asINVALID_TYPE
AlreadyRegisteredasERetCodes.asALREADY_REGISTERED
MultipleFunctionsasERetCodes.asMULTIPLE_FUNCTIONS
NoModuleasERetCodes.asNO_MODULE
NoGlobalVarasERetCodes.asNO_GLOBAL_VAR
InvalidConfigurationasERetCodes.asINVALID_CONFIGURATION
InvalidInterfaceasERetCodes.asINVALID_INTERFACE
CantBindAllFunctionsasERetCodes.asCANT_BIND_ALL_FUNCTIONS
LowerArrayDimensionNotRegisteredasERetCodes.asLOWER_ARRAY_DIMENSION_NOT_REGISTERED
WrongConfigGroupasERetCodes.asWRONG_CONFIG_GROUP
ConfigGroupInUseasERetCodes.asCONFIG_GROUP_IS_IN_USE
IllegalBehaviourForTypeasERetCodes.asILLEGAL_BEHAVIOUR_FOR_TYPE
WrongCallingConvasERetCodes.asWRONG_CALLING_CONV
BuildInProgressasERetCodes.asBUILD_IN_PROGRESS
InitGlobalVarsFailedasERetCodes.asINIT_GLOBAL_VARS_FAILED
OutOfMemoryasERetCodes.asOUT_OF_MEMORY
ModuleInUseasERetCodes.asMODULE_IS_IN_USE

Meta