Skip to main content

Variable: UiMatchError()

const UiMatchError: (code, message, options?) => UiMatchErrorShape = UiMatchErrorImpl;

Defined in: packages/uimatch-cli/src/index.ts:9

Re-export the engine's error class under a locally-declared type. The class is bundled, so instanceof still holds, and the published types do not name the private @uimatch/core package.

Parameters​

code​

UiMatchErrorCode

message​

string

options?​

ErrorOptions

Returns​

UiMatchErrorShape