Education Technology

Knowledge Base

Home | TI-Innovator™ Technology

Solution 37689: TI-Innovator™ Hub inconsistent format in errors returned by the commands READ and READ LAST ERROR.

Why are the formats for the errors the commands READ and READ LAST ERROR inconsistent?

The format of the error messages can be configured by the user to be either a number or a string. The READ LAST ERROR command will return the error in the configured format. However, an invalid READ command that results in an error will always return a numeric error even if the configuration was for a "string".

A READ command always returns a numeric value regardless of the formatting setting of the error messages

Internal Comments
Unlikely to fix in a future release due to behavior of the READ command.