The InvalidTypeError class implements an Error that should be thrown when there is an invalid type cast.
Optional
The InvalidTypeError class implements an Error that should be thrown when there is an invalid type cast.