Skip to content
v3.3.0

ExpectedValueOfTypeError

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

+ new ExpectedValueOfTypeError(expectedType: string, paramName: string): ExpectedValueOfTypeError

Defined in src/errors.ts:177

Parameters:

NameType
expectedTypestring
paramNamestring

Returns: ExpectedValueOfTypeError

message: string


name: string


stack? : undefined | string


Error: ErrorConstructor