Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 444 Bytes

ai-load-setting-error.mdx

File metadata and controls

24 lines (16 loc) · 444 Bytes
title description
AI_LoadSettingError
Learn how to fix AI_LoadSettingError

AI_LoadSettingError

This error occurs when a setting is not loaded successfully.

Properties

  • message: The error message

Checking for this Error

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

import { LoadSettingError } from 'ai';

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