Skip to content
Buy me a coffee

EmptyStackException

Defined in: src/exceptions.ts:40

Thrown by Stack.peek() and Stack.pop() when the stack is empty.

new EmptyStackException(message?): EmptyStackException

Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1080

string

EmptyStackException

RuntimeException.constructor

message: string

Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1075

RuntimeException.message


name: string = 'EmptyStackException'

Defined in: src/exceptions.ts:42

Always 'EmptyStackException'.

RuntimeException.name


optional stack?: string

Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1076

RuntimeException.stack