RiffleErrorCode
RiffleErrorCode =
"INVALID_COUNT"|"INVALID_OPTION"|"NODE_NOT_FOUND"|"DESTROYED"
Defined in: errors.ts:14
Identifies why a RiffleError was thrown. INVALID_COUNT and
INVALID_OPTION are construction or update() validation failures,
NODE_NOT_FOUND is an internal-only code not currently thrown across the
public API, and DESTROYED means a method was called after destroy().
Example
Section titled “Example”import type { RiffleErrorCode } from '@rpxl/riffle'
const code: RiffleErrorCode = 'DESTROYED'