Skip to content

AIDK API Reference / aidk-shared / isAdapterError

Function: isAdapterError() ​

ts
function isAdapterError(error: unknown): error is AdapterError;

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

Check if error is an AdapterError

Parameters ​

ParameterType
errorunknown

Returns ​

error is AdapterError

Released under the MIT License.