Skip to content

BlockSuite API Documentation / @blocksuite/blocks / UnauthorizedError

Class: UnauthorizedError

Extends

  • BaseAIError

Constructors

new UnauthorizedError()

new UnauthorizedError(): UnauthorizedError

Returns

UnauthorizedError

Overrides

BaseAIError.constructor

Defined in

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

Properties

type

readonly type: Unauthorized = AIErrorType.Unauthorized

Overrides

BaseAIError.type

Defined in

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