Skip to content

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

+ new ExpectedOneOfValuesError(values: string, paramName: string): ExpectedOneOfValuesError

Defined in hyperformula/src/errors.ts:244

Parameters:

Name Type
values string
paramName string

Returns: ExpectedOneOfValuesError

• message: string


• name: string


Optional

• stack? : undefined | string


Static

▪ Error: ErrorConstructor