All error contexts · Handling errors
Source-derived code definitions. Messages and metadata can contain runtime values; branch on the code, not on message text. See the source definition for constructors and diagnostic fields.
| Code | Condition | Source |
|---|---|---|
IDICON_001 |
INVALID_PUBLIC_KEY — Input is not a valid checksummed G-address or C-address. |
Definition |
IDICON_002 |
INVALID_OPTIONS — Render options are not an object. |
Definition |
IDICON_003 |
INVALID_SIZE — Size is not an integer in the supported range. |
Definition |
IDICON_004 |
INVALID_PADDING — Padding is not a nonnegative integer. |
Definition |
IDICON_005 |
INSUFFICIENT_DRAWING_AREA — Padding leaves insufficient room for the grid. |
Definition |
IDICON_006 |
INVALID_SATURATION — Saturation is not a finite value between zero and one. |
Definition |
IDICON_007 |
INVALID_VALUE — Brightness is not a finite value between zero and one. |
Definition |
IDICON_008 |
INVALID_BACKGROUND — Background is neither transparent nor a six-digit hex color. |
Definition |
IDICON_009 |
INVALID_FORMAT — Data URL format is neither svg nor png. |
Definition |
IDICON_010 |
PNG_ENCODING_FAILED — The PNG encoder rejected image data. |
Definition |