Errors

Class ExprError

Expression Error Class

Extends Error

constructor (name: string, message: string): ExprError

Name Type Default Description
name string    
message string    

Property .prepareStackTrace

Optional override for formatting stack traces

Property .stackTraceLimit : number

Method .captureStackTrace (targetObject: object, constructorOpt: Function): void

Create .stack property on a target object

Name Type Default Description
targetObject object    
constructorOpt Function    

static Method .conflictingBrackets (x: string): ExprError

Name Type Default Description
x string    

static Method .consecutiveOperators (x: string, y: string): ExprError

Name Type Default Description
x string    
y string    

static Method .endOperator (x: ExprElement): ExprError

Name Type Default Description
x ExprElement    

static Method .evalLoop (x: string): ExprError

Name Type Default Description
x string    

static Method .invalidCharacter (x: string): ExprError

Name Type Default Description
x string    

static Method .invalidExpression (): ExprError

static Method .startOperator (x: ExprElement): ExprError

Name Type Default Description
x ExprElement    

static Method .uncallableExpression (x: string): ExprError

Name Type Default Description
x string    

static Method .unclosedBracket (x: string): ExprError

Name Type Default Description
x string    

static Method .undefinedFunction (x: string): ExprError

Name Type Default Description
x string    

static Method .undefinedVariable (x: string): ExprError

Name Type Default Description
x string    

Copyright © 2024 Mathigon.org