Skip to content

InvalidAPIKeyError

Base classes

Name Children Inherits
Exception
builtins
Common base class for all non-exit exceptions.

⋔ Inheritance diagram

graph TD
  2708860086["exceptions.InvalidAPIKeyError"]
  1615621424["builtins.Exception"]
  3224121899["builtins.BaseException"]
  2751680898["builtins.object"]
  1615621424 --> 2708860086
  3224121899 --> 1615621424
  2751680898 --> 3224121899

🛈 DocStrings

Bases: Exception

Source code in src/searchly/exceptions.py
class InvalidAPIKeyError(Exception):
    def __init__(self) -> None:
        super().__init__("The provided API key is invalid.")

:fa-brands-github: Show source on GitHub