Invalid data type error.

WHEN TO USE:

  • This error will be thrown when the data type is invalid. -e.g.- when the data type is not a string, number, boolean, or object.

Hierarchy (view full)

Constructors

Properties

errorMessage: string
innerError?: unknown
methodName: string