Skip to content

달빛약속 / YaksokError

Class: YaksokError<T> ​

Extends ​

  • Error

Extended by ​

Type Parameters ​

• T = unknown

Constructors ​

YaksokError() ​

YaksokError<T>(props): YaksokError<T>

Parameters ​

• props

• props.node?: Node<unknown>

• props.position?: Position

• props.scope?: Scope

• props.tokens?: Token[]

Returns ​

YaksokError<T>

Overrides ​

Error.constructor

Defined in ​

core/error/common.ts:18

YaksokError() ​

YaksokError<T>(props): YaksokError<T>

Parameters ​

• props

• props.node?: Node<unknown>

• props.position?: Position

• props.resource: T

• props.scope?: Scope

• props.tokens?: Token[]

Returns ​

YaksokError<T>

Overrides ​

Error.constructor

Defined in ​

core/error/common.ts:24

Properties ​

child? ​

optional child: YaksokError<unknown>

Defined in ​

core/error/common.ts:14


codeFile? ​

optional codeFile: CodeFile

Defined in ​

core/error/common.ts:13


message ​

message: string

Inherited from ​

Error.message

Defined in ​

node_modules/.deno/typescript@5.7.3/node_modules/typescript/lib/lib.es5.d.ts:1077


name ​

name: string

Inherited from ​

Error.name

Defined in ​

node_modules/.deno/typescript@5.7.3/node_modules/typescript/lib/lib.es5.d.ts:1076


node? ​

optional node: Node<unknown>

Defined in ​

core/error/common.ts:16


position? ​

optional position: Position

Defined in ​

core/error/common.ts:10


resource ​

resource: T

Defined in ​

core/error/common.ts:12


scope? ​

optional scope: Scope

Defined in ​

core/error/common.ts:15


stack? ​

optional stack: string

Inherited from ​

Error.stack

Defined in ​

node_modules/.deno/typescript@5.7.3/node_modules/typescript/lib/lib.es5.d.ts:1078


tokens? ​

optional tokens: Token[]

Defined in ​

core/error/common.ts:11