# 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
# constructor
+ new ExpectedOneOfValuesError(values: string, paramName: string): ExpectedOneOfValuesError
Defined in src/errors.ts:242 (opens new window)
Parameters:
| Name | Type |
|---|---|
values | string |
paramName | string |
Returns: ExpectedOneOfValuesError
# Properties
# message
• message: string
# name
• name: string
# stack Optional
• stack? : undefined | string
# Error Static
▪ Error: ErrorConstructor