Skip to content

BlockSuite API Documentation / @blocksuite/blocks / GeneralNetworkError

Class: GeneralNetworkError

Extends

  • BaseAIError

Constructors

new GeneralNetworkError()

new GeneralNetworkError(message): GeneralNetworkError

Parameters

message: string = 'Network error'

Returns

GeneralNetworkError

Overrides

BaseAIError.constructor

Defined in

packages/blocks/src/_common/components/ai-item/types.ts:60

Properties

type

readonly type: GeneralNetworkError = AIErrorType.GeneralNetworkError

Overrides

BaseAIError.type

Defined in

packages/blocks/src/_common/components/ai-item/types.ts:58