Skip to content
v3.3.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:18


BadMode: string = “Mode not recognized.”

Defined in src/error-message.ts:26


BadRef: string = “Address is not correct.”

Defined in src/error-message.ts:39


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

Defined in src/error-message.ts:58


CellRangeExpected: string = “Cell range expected.”

Defined in src/error-message.ts:20


CellRefExpected: string = “Cell reference expected.”

Defined in src/error-message.ts:37


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

Defined in src/error-message.ts:67


ComplexNumberExpected: string = “Complex number expected.”

Defined in src/error-message.ts:73


DateBounds: string = “Date outside of bounds.”

Defined in src/error-message.ts:27


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:38


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

Defined in src/error-message.ts:59


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

Defined in src/error-message.ts:36


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

Defined in src/error-message.ts:31


Formula: string = “Expected formula.”

Defined in src/error-message.ts:52


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

Defined in src/error-message.ts:66


IndexBounds: string = “Index out of bounds.”

Defined in src/error-message.ts:50


IndexLarge: string = “Index too large.”

Defined in src/error-message.ts:51


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

Defined in src/error-message.ts:25


InvalidDate: string = “Invalid date.”

Defined in src/error-message.ts:57


InvalidRoman: string = “Invalid roman numeral.”

Defined in src/error-message.ts:71


LengthBounds: string = “Length out of bounds.”

Defined in src/error-message.ts:60


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

Defined in src/error-message.ts:69


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

Defined in src/error-message.ts:30


Negative: string = “Value cannot be negative.”

Defined in src/error-message.ts:32


NegativeCount: string = “Count cannot be negative.”

Defined in src/error-message.ts:53


NegativeLength: string = “Length cannot be negative.”

Defined in src/error-message.ts:45


NegativeTime: string = “Time cannot be negative.”

Defined in src/error-message.ts:61


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

Defined in src/error-message.ts:63


NoDefault: string = “No default option.”

Defined in src/error-message.ts:62


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

Defined in src/error-message.ts:15


NonZero: string = “Argument cannot be 0.”

Defined in src/error-message.ts:68


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

Defined in src/error-message.ts:33


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

Defined in src/error-message.ts:35


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

Defined in src/error-message.ts:34


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

Defined in src/error-message.ts:23


NumberExpected: string = “Number argument expected.”

Defined in src/error-message.ts:24


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

Defined in src/error-message.ts:40


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

Defined in src/error-message.ts:47


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

Defined in src/error-message.ts:28


ParseError: string = “Parsing error.”

Defined in src/error-message.ts:54


PatternNotFound: string = “Pattern not found.”

Defined in src/error-message.ts:46


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

Defined in src/error-message.ts:56


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

Defined in src/error-message.ts:19


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

Defined in src/error-message.ts:76


ScalarExpected: string = “Cell range not allowed.”

Defined in src/error-message.ts:22


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

Defined in src/error-message.ts:64


SheetRef: string = “Sheet does not exist.”

Defined in src/error-message.ts:55


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

Defined in src/error-message.ts:74


SizeMismatch: string = “Array dimensions mismatched.”

Defined in src/error-message.ts:75


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

Defined in src/error-message.ts:65


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

Defined in src/error-message.ts:49


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

Defined in src/error-message.ts:48


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

Defined in src/error-message.ts:42


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

Defined in src/error-message.ts:44


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

Defined in src/error-message.ts:43


ValueLarge: string = “Value too large.”

Defined in src/error-message.ts:17


ValueNotFound: string = “Value not found.”

Defined in src/error-message.ts:41


ValueSmall: string = “Value too small.”

Defined in src/error-message.ts:16


WeekendString: string = “Incorrect weekend bitmask string.”

Defined in src/error-message.ts:70


WrongArgNumber: string = “Wrong number of arguments.”

Defined in src/error-message.ts:11


WrongDimension: string = “Wrong range dimension.”

Defined in src/error-message.ts:21


WrongOrder: string = “Wrong order of values.”

Defined in src/error-message.ts:72


WrongType: string = “Wrong type of argument.”

Defined in src/error-message.ts:29

FunctionName(arg: string): string

Defined in src/error-message.ts:77

Parameters:

NameType
argstring

Returns: string


LicenseKey(arg: string): string

Defined in src/error-message.ts:79

Parameters:

NameType
argstring

Returns: string


NamedExpressionName(arg: string): string

Defined in src/error-message.ts:78

Parameters:

NameType
argstring

Returns: string