InvalidType

Raised upon invalid type of parameter provided.

This is different from in-built TypeError as this is related to type of the parameter for example if you provide a type of joke that is not in the joke types, this will raise.

Last updated