Function: isAgentError()

function isAgentError(error): error is AgentError;

Defined in: errors.ts:279

Type guard to check if an error is an AgentError

Parameters

Parameter Type
error unknown

Returns

error is AgentError