pylabrobot.byonoy.absorbance_96.ByonoyAbsorbance96.describe_error_code#

ByonoyAbsorbance96.describe_error_code(code: int) str#

Return a human-readable name for a firmware error_code byte.

Looks up code in this backend’s _ERROR_NAMES table. Unknown codes fall back to "errorCode=0xNN" matching the C library’s generic Status::firmwareErrorId. The default table only has NO_ERROR (0); subclasses for documented devices (Abs96, AbsOne) populate richer tables. Lum96 has no documented table — codes other than 0 will surface as the hex sentinel, which is the honest answer.

Parameters:

code (int)

Return type:

str