# ExpectedValueOfTypeError Class
Error thrown when the expected value type differs from the given value type. It also displays the expected type. 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 ExpectedValueOfTypeError(expectedType
: string, paramName
: string): ExpectedValueOfTypeError
Defined in src/errors.ts:177 (opens new window)
Parameters:
Name | Type |
---|---|
expectedType | string |
paramName | string |
Returns: ExpectedValueOfTypeError
# Properties
# message
• message: string
# name
• name: string
# stack Optional
• stack? : undefined | string
# Error Static
▪ Error: ErrorConstructor