title | description |
---|---|
AI_UnsupportedFunctionalityError |
Learn how to fix AI_UnsupportedFunctionalityError |
This error occurs when functionality is not unsupported.
functionality
: The name of the unsupported functionalitymessage
: The error message
You can check if an error is an instance of AI_UnsupportedFunctionalityError
using:
import { UnsupportedFunctionalityError } from 'ai';
if (UnsupportedFunctionalityError.isInstance(error)) {
// Handle the error
}