GB_ERR_ARG | Bad argument error |
GB.Error | Signals an error. |
GB.Propagate | Propagates an error. |
GB_ERR_TYPE | Type mismatch error |
When you have to abort a native method or property, and raise an error, just call the GB.Error function. But be careful! You must then return manually from the function.
There are some predefined error constants: GB_ERR_ARG and GB_ERR_TYPE.