diff --git a/open_city_profile/consts.py b/open_city_profile/consts.py index 598bbb8f..d9a3f4c9 100644 --- a/open_city_profile/consts.py +++ b/open_city_profile/consts.py @@ -1,5 +1,4 @@ # Common errors -API_NOT_IMPLEMENTED_ERROR = "API_NOT_IMPLEMENTED_ERROR" GENERAL_ERROR = "GENERAL_ERROR" OBJECT_DOES_NOT_EXIST_ERROR = "OBJECT_DOES_NOT_EXIST_ERROR" INVALID_EMAIL_FORMAT_ERROR = "INVALID_EMAIL_FORMAT" diff --git a/open_city_profile/exceptions.py b/open_city_profile/exceptions.py index c3d5fbd4..bf9a8083 100644 --- a/open_city_profile/exceptions.py +++ b/open_city_profile/exceptions.py @@ -8,10 +8,6 @@ class ProfileGraphQLError(GraphQLError): # Open city profile -class APINotImplementedError(ProfileGraphQLError): - """The functionality is not yet implemented""" - - class ProfileAlreadyExistsForUserError(ProfileGraphQLError): """Profile already exists for the user""" diff --git a/open_city_profile/views.py b/open_city_profile/views.py index f334a590..1d9d3916 100644 --- a/open_city_profile/views.py +++ b/open_city_profile/views.py @@ -8,7 +8,6 @@ from helusers.oidc import AuthenticationError from open_city_profile.consts import ( - API_NOT_IMPLEMENTED_ERROR, CONNECTED_SERVICE_DATA_QUERY_FAILED_ERROR, CONNECTED_SERVICE_DELETION_FAILED_ERROR, CONNECTED_SERVICE_DELETION_NOT_ALLOWED_ERROR, @@ -30,7 +29,6 @@ VALIDATION_ERROR, ) from open_city_profile.exceptions import ( - APINotImplementedError, ConnectedServiceDataQueryFailedError, ConnectedServiceDeletionFailedError, ConnectedServiceDeletionNotAllowedError, @@ -54,7 +52,6 @@ ObjectDoesNotExist: OBJECT_DOES_NOT_EXIST_ERROR, TokenExpiredError: TOKEN_EXPIRED_ERROR, PermissionDenied: PERMISSION_DENIED_ERROR, - APINotImplementedError: API_NOT_IMPLEMENTED_ERROR, ValidationError: VALIDATION_ERROR, graphene_validator.errors.ValidationGraphQLError: VALIDATION_ERROR, InvalidEmailFormatError: INVALID_EMAIL_FORMAT_ERROR,