Skip to content

AIDK API Reference / aidk-shared / isAIDKError

Function: isAIDKError() ​

ts
function isAIDKError(error: unknown): error is AIDKError;

Defined in: packages/shared/src/errors.ts:669

Check if error is any AIDK error

Parameters ​

ParameterType
errorunknown

Returns ​

error is AIDKError

Released under the MIT License.