Skip to content

exceptions

Class info

Classes

Name Children Inherits
BadRequestError
searchly.exceptions
Raised when the request is invalid.
    InvalidAPIKeyError
    searchly.exceptions
      MissingAPIKeyError
      searchly.exceptions
        SearchProviderError
        searchly.exceptions
        Raised when a provider reports an error in an otherwise successful response.
          UsageLimitExceededError
          searchly.exceptions
          Raised when the usage limit is exceeded.

            🛈 DocStrings

            Exceptions raised by search providers.

            BadRequestError

            Bases: Exception

            Raised when the request is invalid.

            Source code in src/searchly/exceptions.py
            class BadRequestError(Exception):
                """Raised when the request is invalid."""
            

            SearchProviderError

            Bases: Exception

            Raised when a provider reports an error in an otherwise successful response.

            Source code in src/searchly/exceptions.py
            class SearchProviderError(Exception):
                """Raised when a provider reports an error in an otherwise successful response."""
            

            UsageLimitExceededError

            Bases: Exception

            Raised when the usage limit is exceeded.

            Source code in src/searchly/exceptions.py
            class UsageLimitExceededError(Exception):
                """Raised when the usage limit is exceeded."""