ErrorText
A table of error messages.
Description
An error text item is a table of error messages. The kernel maintains a list of these items and uses them to convert a Portfolio error code into a descriptive string.
Folio
kernel
Item Type
ERRORTEXTNODE
Create
CreateItem()
Delete
DeleteItem()
Use
GetSysErr
()
Tags
- ERRTEXT_TAG_OBJID
- (uint32) Create. This tag specifies the 3 6-bit characters that idenify these errors. You use the Make6Bit() macro to convert from ASCII into the 6-bit character set.
- ERRTEXT_TAG_MAXERR
- (uint8) Create. Indicates the number of error strings being defined. This corresponds to the number of entries in the string table.
- ERRTEXT_TAG_TABLE
- (char **) Create. A pointer to an array of string pointers. These strings will be used when converting an error code into a string. The array is indexed by the lower 8 bits of the error code.
- ERRTEXT_TAG_MAXSTR
- (uint32) Create. Specifies the maximum string length of any string in the string table.