Home > dev > api > cat > error 
 en fr de es it nl pl pt pt_BR sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
Error Management
GB_ERR_ARG 'Bad argument' error
GB_ERR_BOUND 'Out of bounds' error
GB_ERR_NSYMBOL 'Unknown symbol' error
GB_ERR_NPROPERTY 'Not a property' error
GB_ERR_TYPE 'Type mismatch' error
GB.Error Signals an error.
GB.Propagate Propagates an error.

Overview

When you have to abort a native Метод or Својство, and raise an error, just call the GB.Error function.

Be careful! Then you must return explicitly from the function.

There are some predefined error constants: those whose name begins with GB_ERR_.