Skip to content

Documentation / @finchart/core / ContractError

Class: ContractError

Defined in: packages/core/src/primitives/errors.ts:38

호출부가 API를 계약과 다르게 썼다 — 지울 수 없는 pane 삭제, 비양수 확대 배율, id 중복 등록 등. 잡으라는 게 아니라 이름을 주려는 것 — 평범한 Error면 에러 리포터에서 남의 에러와 섞인다.

Extends

  • Error

Constructors

Constructor

new ContractError(message): ContractError

Defined in: packages/core/src/primitives/errors.ts:39

Parameters

message

string

Returns

ContractError

Overrides

Error.constructor

Properties

cause?

optional cause?: unknown

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26

Inherited from

Error.cause


message

message: string

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077

Inherited from

Error.message


name

name: string

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076

Inherited from

Error.name


stack?

optional stack?: string

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078

Inherited from

Error.stack