> For the complete documentation index, see [llms.txt](https://nerdguyahmad.gitbook.io/randomstuff/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nerdguyahmad.gitbook.io/randomstuff/errors/argumenterror/invalidtype.md).

# InvalidType

Raised upon invalid type of parameter provided.

{% hint style="info" %}
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.
{% endhint %}
