ExpectedOneOfValuesError
Class
Error thrown when the value was expected to be set for a config parameter. It also displays the expected value. This error might be thrown while setting or updating the ConfigParams. The following methods accept ConfigParams as a parameter:
see buildEmpty
see buildFromArray
see buildFromSheets
see updateConfig
Constructors
Section titled “Constructors”constructor
Section titled “constructor”+ new ExpectedOneOfValuesError(values: string, paramName: string): ExpectedOneOfValuesError
Defined in hyperformula/src/errors.ts:244
Parameters:
| Name | Type |
|---|---|
values |
string |
paramName |
string |
Returns: ExpectedOneOfValuesError
Properties
Section titled “Properties”message
Section titled “message”• message: string
• name: string
Optional
• stack? : undefined | string
Static
▪ Error: ErrorConstructor