ErrorMessage
This is a class for detailed error messages across HyperFormula.
Properties
Section titled “Properties”ArrayDimensions
Section titled “ArrayDimensions”▪ ArrayDimensions: string = “Array dimensions are not compatible.”
Defined in src/error-message.ts:14
BadCriterion
Section titled “BadCriterion”▪ BadCriterion: string = “Incorrect criterion.”
Defined in src/error-message.ts:18
BadMode
Section titled “BadMode”▪ BadMode: string = “Mode not recognized.”
Defined in src/error-message.ts:26
BadRef
Section titled “BadRef”▪ BadRef: string = “Address is not correct.”
Defined in src/error-message.ts:39
BitshiftLong
Section titled “BitshiftLong”▪ BitshiftLong: string = “Result of bitshift is too long.”
Defined in src/error-message.ts:58
CellRangeExpected
Section titled “CellRangeExpected”▪ CellRangeExpected: string = “Cell range expected.”
Defined in src/error-message.ts:20
CellRefExpected
Section titled “CellRefExpected”▪ CellRefExpected: string = “Cell reference expected.”
Defined in src/error-message.ts:37
CharacterCodeBounds
Section titled “CharacterCodeBounds”▪ CharacterCodeBounds: string = “Character code out of bounds.”
Defined in src/error-message.ts:67
ComplexNumberExpected
Section titled “ComplexNumberExpected”▪ ComplexNumberExpected: string = “Complex number expected.”
Defined in src/error-message.ts:73
DateBounds
Section titled “DateBounds”▪ DateBounds: string = “Date outside of bounds.”
Defined in src/error-message.ts:27
DistinctSigns
Section titled “DistinctSigns”▪ DistinctSigns: string = “Distinct signs.”
Defined in src/error-message.ts:10
EmptyArg
Section titled “EmptyArg”▪ EmptyArg: string = “Empty function argument.”
Defined in src/error-message.ts:12
EmptyArray
Section titled “EmptyArray”▪ EmptyArray: string = “Empty array not allowed.”
Defined in src/error-message.ts:13
EmptyRange
Section titled “EmptyRange”▪ EmptyRange: string = “Empty range not allowed.”
Defined in src/error-message.ts:38
EmptyString
Section titled “EmptyString”▪ EmptyString: string = “Empty-string argument not allowed.”
Defined in src/error-message.ts:59
EndStartPeriod
Section titled “EndStartPeriod”▪ EndStartPeriod: string = “End period needs to be at least start period.”
Defined in src/error-message.ts:36
EqualLength
Section titled “EqualLength”▪ EqualLength: string = “Ranges need to be of equal length.”
Defined in src/error-message.ts:31
Formula
Section titled “Formula”▪ Formula: string = “Expected formula.”
Defined in src/error-message.ts:52
IncorrectDateTime
Section titled “IncorrectDateTime”▪ IncorrectDateTime: string = “String does not represent correct DateTime.”
Defined in src/error-message.ts:66
IndexBounds
Section titled “IndexBounds”▪ IndexBounds: string = “Index out of bounds.”
Defined in src/error-message.ts:50
IndexLarge
Section titled “IndexLarge”▪ IndexLarge: string = “Index too large.”
Defined in src/error-message.ts:51
IntegerExpected
Section titled “IntegerExpected”▪ IntegerExpected: string = “Value needs to be an integer.”
Defined in src/error-message.ts:25
InvalidDate
Section titled “InvalidDate”▪ InvalidDate: string = “Invalid date.”
Defined in src/error-message.ts:57
InvalidRoman
Section titled “InvalidRoman”▪ InvalidRoman: string = “Invalid roman numeral.”
Defined in src/error-message.ts:71
LengthBounds
Section titled “LengthBounds”▪ LengthBounds: string = “Length out of bounds.”
Defined in src/error-message.ts:60
LessThanOne
Section titled “LessThanOne”▪ 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
Section titled “Negative”▪ Negative: string = “Value cannot be negative.”
Defined in src/error-message.ts:32
NegativeCount
Section titled “NegativeCount”▪ NegativeCount: string = “Count cannot be negative.”
Defined in src/error-message.ts:53
NegativeLength
Section titled “NegativeLength”▪ NegativeLength: string = “Length cannot be negative.”
Defined in src/error-message.ts:45
NegativeTime
Section titled “NegativeTime”▪ NegativeTime: string = “Time cannot be negative.”
Defined in src/error-message.ts:61
NoConditionMet
Section titled “NoConditionMet”▪ NoConditionMet: string = “None of the conditions were met.”
Defined in src/error-message.ts:63
NoDefault
Section titled “NoDefault”▪ NoDefault: string = “No default option.”
Defined in src/error-message.ts:62
NoSpaceForArrayResult
Section titled “NoSpaceForArrayResult”▪ NoSpaceForArrayResult: string = “No space for array result.”
Defined in src/error-message.ts:15
NonZero
Section titled “NonZero”▪ NonZero: string = “Argument cannot be 0.”
Defined in src/error-message.ts:68
NotBinary
Section titled “NotBinary”▪ NotBinary: string = “String does not represent a binary number.”
Defined in src/error-message.ts:33
NotHex
Section titled “NotHex”▪ NotHex: string = “String does not represent a hexadecimal number.”
Defined in src/error-message.ts:35
NotOctal
Section titled “NotOctal”▪ NotOctal: string = “String does not represent an octal number.”
Defined in src/error-message.ts:34
NumberCoercion
Section titled “NumberCoercion”▪ NumberCoercion: string = “Value cannot be coerced to number.”
Defined in src/error-message.ts:23
NumberExpected
Section titled “NumberExpected”▪ NumberExpected: string = “Number argument expected.”
Defined in src/error-message.ts:24
NumberRange
Section titled “NumberRange”▪ NumberRange: string = “Number-only range expected.”
Defined in src/error-message.ts:40
OneValue
Section titled “OneValue”▪ OneValue: string = “Needs at least one value.”
Defined in src/error-message.ts:47
OutOfSheet
Section titled “OutOfSheet”▪ OutOfSheet: string = “Resulting reference is out of the sheet.”
Defined in src/error-message.ts:28
ParseError
Section titled “ParseError”▪ ParseError: string = “Parsing error.”
Defined in src/error-message.ts:54
PatternNotFound
Section titled “PatternNotFound”▪ PatternNotFound: string = “Pattern not found.”
Defined in src/error-message.ts:46
PeriodLong
Section titled “PeriodLong”▪ PeriodLong: string = “Period number cannot exceed life length.”
Defined in src/error-message.ts:56
RangeManySheets
Section titled “RangeManySheets”▪ RangeManySheets: string = “Range spans more than one sheet.”
Defined in src/error-message.ts:19
ResultTooLong
Section titled “ResultTooLong”▪ ResultTooLong: string = “Result exceeds the maximum allowed length.”
Defined in src/error-message.ts:76
ScalarExpected
Section titled “ScalarExpected”▪ ScalarExpected: string = “Cell range not allowed.”
Defined in src/error-message.ts:22
Selector
Section titled “Selector”▪ Selector: string = “Selector cannot exceed the number of arguments.”
Defined in src/error-message.ts:64
SheetRef
Section titled “SheetRef”▪ SheetRef: string = “Sheet does not exist.”
Defined in src/error-message.ts:55
ShouldBeIorJ
Section titled “ShouldBeIorJ”▪ ShouldBeIorJ: string = “Should be ‘i’ or ‘j’.”
Defined in src/error-message.ts:74
SizeMismatch
Section titled “SizeMismatch”▪ SizeMismatch: string = “Array dimensions mismatched.”
Defined in src/error-message.ts:75
StartEndDate
Section titled “StartEndDate”▪ StartEndDate: string = “Start date needs to be earlier than end date.”
Defined in src/error-message.ts:65
ThreeValues
Section titled “ThreeValues”▪ ThreeValues: string = “Range needs to contain at least three elements.”
Defined in src/error-message.ts:49
TwoValues
Section titled “TwoValues”▪ TwoValues: string = “Range needs to contain at least two elements.”
Defined in src/error-message.ts:48
ValueBaseLarge
Section titled “ValueBaseLarge”▪ ValueBaseLarge: string = “Value in base too large.”
Defined in src/error-message.ts:42
ValueBaseLong
Section titled “ValueBaseLong”▪ ValueBaseLong: string = “Value in base too long.”
Defined in src/error-message.ts:44
ValueBaseSmall
Section titled “ValueBaseSmall”▪ ValueBaseSmall: string = “Value in base too small.”
Defined in src/error-message.ts:43
ValueLarge
Section titled “ValueLarge”▪ ValueLarge: string = “Value too large.”
Defined in src/error-message.ts:17
ValueNotFound
Section titled “ValueNotFound”▪ ValueNotFound: string = “Value not found.”
Defined in src/error-message.ts:41
ValueSmall
Section titled “ValueSmall”▪ ValueSmall: string = “Value too small.”
Defined in src/error-message.ts:16
WeekendString
Section titled “WeekendString”▪ WeekendString: string = “Incorrect weekend bitmask string.”
Defined in src/error-message.ts:70
WrongArgNumber
Section titled “WrongArgNumber”▪ WrongArgNumber: string = “Wrong number of arguments.”
Defined in src/error-message.ts:11
WrongDimension
Section titled “WrongDimension”▪ WrongDimension: string = “Wrong range dimension.”
Defined in src/error-message.ts:21
WrongOrder
Section titled “WrongOrder”▪ WrongOrder: string = “Wrong order of values.”
Defined in src/error-message.ts:72
WrongType
Section titled “WrongType”▪ WrongType: string = “Wrong type of argument.”
Defined in src/error-message.ts:29
Methods
Section titled “Methods”FunctionName
Section titled “FunctionName”▸ FunctionName(arg: string): string
Defined in src/error-message.ts:77
Parameters:
| Name | Type |
|---|---|
arg | string |
Returns: string
LicenseKey
Section titled “LicenseKey”▸ LicenseKey(arg: string): string
Defined in src/error-message.ts:79
Parameters:
| Name | Type |
|---|---|
arg | string |
Returns: string
NamedExpressionName
Section titled “NamedExpressionName”▸ NamedExpressionName(arg: string): string
Defined in src/error-message.ts:78
Parameters:
| Name | Type |
|---|---|
arg | string |
Returns: string