Skip to main content
Type guard to check if the error is an API error.

Parameters

Returns

error is APIError
  • True if the error is an API error, false otherwise.

Example