Exceptions

Contains all own created Exceptions

Exceptions:

DatabaseException

Exception for all Database Query

DuplicateEntry

Exception if you add a duplicate entry

GoogleApiException

Exception if some Error from the Google API request are made

NoResultsException

Exception if the Search got no results

NoneExcistingLocationException

Exception if no result found with these zip code

NotAuthorizedException(error_msg[, ...])

Exception if you are not authorized

RecipeNotFound

Exception if no recipe found in the Database

RestaurantNotFound(error_msg, place_id)

Exception of a DB Query if the User does not exist

UserNotFound(error_msg, user)

Exception of a DB Query if the User does not exist

exception schemes.exceptions.DatabaseException[source]

Exception for all Database Query

exception schemes.exceptions.DuplicateEntry[source]

Exception if you add a duplicate entry

exception schemes.exceptions.GoogleApiException[source]

Exception if some Error from the Google API request are made

exception schemes.exceptions.NoResultsException[source]

Exception if the Search got no results

exception schemes.exceptions.NoneExcistingLocationException[source]

Exception if no result found with these zip code

exception schemes.exceptions.NotAuthorizedException(error_msg: str, status_code=401, headers: dict = {'WWW-Authenticate': 'Bearer'})[source]

Exception if you are not authorized

exception schemes.exceptions.RecipeNotFound[source]

Exception if no recipe found in the Database

exception schemes.exceptions.RestaurantNotFound(error_msg: str, place_id: str)[source]

Exception of a DB Query if the User does not exist

exception schemes.exceptions.UserNotFound(error_msg: str, user: str)[source]

Exception of a DB Query if the User does not exist