📁
randomstuff.py
  • randomstuff.py
  • Clients
    • Client
    • AsyncClient
  • Data Classes
    • AIResponse
    • Joke
    • JokeFlags
    • Waifu
    • Weather
    • WeatherLocation
    • CurrentWeather
    • WeatherForecast
  • Sub modules
    • utils
  • Errors tree
    • Forbidden
      • BadAPIKey
      • PlanNotAllowed
    • ArgumentError
      • InvalidPlanError
      • InvalidVersionError
      • InvalidServerError
      • InvalidType
      • InvalidCityError
    • HTTPError
  • Brief
    • Warnings
    • Lists
    • Unique ID
    • Joke 101
    • FAQ
    • Changelogs
Powered by GitBook
On this page

Was this helpful?

  1. Errors tree
  2. ArgumentError

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.

PreviousInvalidServerErrorNextInvalidCityError

Last updated 3 years ago

Was this helpful?