Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 579 Bytes

ai-unsupported-functionality-error.mdx

File metadata and controls

25 lines (17 loc) · 579 Bytes
title description
AI_UnsupportedFunctionalityError
Learn how to fix AI_UnsupportedFunctionalityError

AI_UnsupportedFunctionalityError

This error occurs when functionality is not unsupported.

Properties

  • functionality: The name of the unsupported functionality
  • message: The error message

Checking for this Error

You can check if an error is an instance of AI_UnsupportedFunctionalityError using:

import { UnsupportedFunctionalityError } from 'ai';

if (UnsupportedFunctionalityError.isInstance(error)) {
  // Handle the error
}