Skip to content

달빛약속 / CannotReturnOutsideFunctionError

Class: CannotReturnOutsideFunctionError

Extends

  • YaksokError

Constructors

new CannotReturnOutsideFunctionError()

new CannotReturnOutsideFunctionError(props): CannotReturnOutsideFunctionError

Parameters

props
position

Position

Returns

CannotReturnOutsideFunctionError

Overrides

YaksokError.constructor

Defined in

core/error/function.ts:5

Properties

child?

optional child: YaksokError<unknown>

Inherited from

YaksokError.child

Defined in

core/error/common.ts:11


codeFile?

optional codeFile: CodeFile

Inherited from

YaksokError.codeFile

Defined in

core/error/common.ts:10


message

message: string

Inherited from

YaksokError.message

Defined in

node_modules/.deno/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1077


name

name: string

Inherited from

YaksokError.name

Defined in

node_modules/.deno/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1076


position?

optional position: Position

Inherited from

YaksokError.position

Defined in

core/error/common.ts:8


resource?

optional resource: unknown

Inherited from

YaksokError.resource

Defined in

core/error/common.ts:9


stack?

optional stack: string

Inherited from

YaksokError.stack

Defined in

node_modules/.deno/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1078