Skip to content
v3.4.0

ErrorMessage

This is a class for detailed error messages across HyperFormula.

▪ ArrayDimensions: string = “Array dimensions are not compatible.”

Defined in src/error-message.ts:14


▪ BadCriterion: string = “Incorrect criterion.”

Defined in src/error-message.ts:19


▪ BadMode: string = “Mode not recognized.”

Defined in src/error-message.ts:27


▪ BadRef: string = “Address is not correct.”

Defined in src/error-message.ts:40


▪ BitshiftLong: string = “Result of bitshift is too long.”

Defined in src/error-message.ts:59


▪ CellRangeExpected: string = “Cell range expected.”

Defined in src/error-message.ts:21


▪ CellRefExpected: string = “Cell reference expected.”

Defined in src/error-message.ts:38


▪ CharacterCodeBounds: string = “Character code out of bounds.”

Defined in src/error-message.ts:68


▪ ComplexNumberExpected: string = “Complex number expected.”

Defined in src/error-message.ts:74


▪ DateBounds: string = “Date outside of bounds.”

Defined in src/error-message.ts:28


▪ DistinctSigns: string = “Distinct signs.”

Defined in src/error-message.ts:10


▪ EmptyArg: string = “Empty function argument.”

Defined in src/error-message.ts:12


▪ EmptyArray: string = “Empty array not allowed.”

Defined in src/error-message.ts:13


▪ EmptyRange: string = “Empty range not allowed.”

Defined in src/error-message.ts:39


▪ EmptyString: string = “Empty-string argument not allowed.”

Defined in src/error-message.ts:60


▪ EndStartPeriod: string = “End period needs to be at least start period.”

Defined in src/error-message.ts:37


▪ EqualLength: string = “Ranges need to be of equal length.”

Defined in src/error-message.ts:32


▪ Formula: string = “Expected formula.”

Defined in src/error-message.ts:53


▪ IncorrectDateTime: string = “String does not represent correct DateTime.”

Defined in src/error-message.ts:67


▪ IndexBounds: string = “Index out of bounds.”

Defined in src/error-message.ts:51


▪ IndexLarge: string = “Index too large.”

Defined in src/error-message.ts:52


▪ IntegerExpected: string = “Value needs to be an integer.”

Defined in src/error-message.ts:26


▪ InvalidDate: string = “Invalid date.”

Defined in src/error-message.ts:58


▪ InvalidRoman: string = “Invalid roman numeral.”

Defined in src/error-message.ts:72


▪ LengthBounds: string = “Length out of bounds.”

Defined in src/error-message.ts:61


▪ LessThanOne: string = “Argument cannot be less than 1.”

Defined in src/error-message.ts:70


▪ NaN: string = “NaN or infinite value encountered.”

Defined in src/error-message.ts:31


▪ Negative: string = “Value cannot be negative.”

Defined in src/error-message.ts:33


▪ NegativeCount: string = “Count cannot be negative.”

Defined in src/error-message.ts:54


▪ NegativeLength: string = “Length cannot be negative.”

Defined in src/error-message.ts:46


▪ NegativeTime: string = “Time cannot be negative.”

Defined in src/error-message.ts:62


▪ NoConditionMet: string = “None of the conditions were met.”

Defined in src/error-message.ts:64


▪ NoDefault: string = “No default option.”

Defined in src/error-message.ts:63


▪ NoSpaceForArrayResult: string = “No space for array result.”

Defined in src/error-message.ts:16


▪ NonZero: string = “Argument cannot be 0.”

Defined in src/error-message.ts:69


▪ NotBinary: string = “String does not represent a binary number.”

Defined in src/error-message.ts:34


▪ NotHex: string = “String does not represent a hexadecimal number.”

Defined in src/error-message.ts:36


▪ NotOctal: string = “String does not represent an octal number.”

Defined in src/error-message.ts:35


▪ NumberCoercion: string = “Value cannot be coerced to number.”

Defined in src/error-message.ts:24


▪ NumberExpected: string = “Number argument expected.”

Defined in src/error-message.ts:25


▪ NumberRange: string = “Number-only range expected.”

Defined in src/error-message.ts:41


▪ OneValue: string = “Needs at least one value.”

Defined in src/error-message.ts:48


▪ OutOfSheet: string = “Resulting reference is out of the sheet.”

Defined in src/error-message.ts:29


▪ ParseError: string = “Parsing error.”

Defined in src/error-message.ts:55


▪ PatternNotFound: string = “Pattern not found.”

Defined in src/error-message.ts:47


▪ PeriodLong: string = “Period number cannot exceed life length.”

Defined in src/error-message.ts:57


▪ PoolDimensions: string = “Range dimensions are not compatible with the window size and the stride.”

Defined in src/error-message.ts:15


▪ RangeManySheets: string = “Range spans more than one sheet.”

Defined in src/error-message.ts:20


▪ ResultTooLong: string = “Result exceeds the maximum allowed length.”

Defined in src/error-message.ts:77


▪ ScalarExpected: string = “Cell range not allowed.”

Defined in src/error-message.ts:23


▪ Selector: string = “Selector cannot exceed the number of arguments.”

Defined in src/error-message.ts:65


▪ SheetRef: string = “Sheet does not exist.”

Defined in src/error-message.ts:56


▪ ShouldBeIorJ: string = “Should be ‘i’ or ‘j’.”

Defined in src/error-message.ts:75


▪ SizeMismatch: string = “Array dimensions mismatched.”

Defined in src/error-message.ts:76


▪ StartEndDate: string = “Start date needs to be earlier than end date.”

Defined in src/error-message.ts:66


▪ ThreeValues: string = “Range needs to contain at least three elements.”

Defined in src/error-message.ts:50


▪ TwoValues: string = “Range needs to contain at least two elements.”

Defined in src/error-message.ts:49


▪ ValueBaseLarge: string = “Value in base too large.”

Defined in src/error-message.ts:43


▪ ValueBaseLong: string = “Value in base too long.”

Defined in src/error-message.ts:45


▪ ValueBaseSmall: string = “Value in base too small.”

Defined in src/error-message.ts:44


▪ ValueLarge: string = “Value too large.”

Defined in src/error-message.ts:18


▪ ValueNotFound: string = “Value not found.”

Defined in src/error-message.ts:42


▪ ValueSmall: string = “Value too small.”

Defined in src/error-message.ts:17


▪ WeekendString: string = “Incorrect weekend bitmask string.”

Defined in src/error-message.ts:71


▪ WrongArgNumber: string = “Wrong number of arguments.”

Defined in src/error-message.ts:11


▪ WrongDimension: string = “Wrong range dimension.”

Defined in src/error-message.ts:22


▪ WrongOrder: string = “Wrong order of values.”

Defined in src/error-message.ts:73


▪ WrongType: string = “Wrong type of argument.”

Defined in src/error-message.ts:30

▸ FunctionName(arg: string): string

Defined in src/error-message.ts:78

Parameters:

NameType
argstring

Returns: string


▸ LicenseKey(arg: string): string

Defined in src/error-message.ts:80

Parameters:

NameType
argstring

Returns: string


▸ NamedExpressionName(arg: string): string

Defined in src/error-message.ts:79

Parameters:

NameType
argstring

Returns: string