This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Converts the passed TBASS error code to human readable explanative string.
Syntax
s = TBASS_ErrorToString (nError)
Returns
String description of the error.
Parameters
Name |
Type |
Optional |
Meaning |
nError |
Number |
No |
Valid TBASS error code, preferably returned by TBASS_ErrorGetCode |
Remarks
For valid TBASS error code, the returned string is in form: "TBASS_ERROR_"(descriptor).
For internal unspecified error, the return value is: "TBASS_ERROR_UNKNOWN"
Restrictions
If the passed value is outside range of recognisable TBASS error codes, the returned string is in form: "Unknown error ("+format$(nError)+")"
See also
Examples
DIM nError AS LONG
...
nError = TBASS_ErrorGetCode
MSGBOX 0, TBASS_ErrorToString(nError)