def WRONG_TYPE_FIELD(cls) -> ValidationError:
     return AnswerService.get_error_wrong_type_field()
Exemplo n.º 2
0
 def MENU_MAIN_DOESNT_EXISTS(cls) -> Error:
     return AnswerService.get_error_menu_main_doesnt_exists()
Exemplo n.º 3
0
 def DISH_MEASURE_VALUE_AND_PRICE_DOESNT_EXISTS(cls) -> Error:
     return AnswerService.get_error_dish_measure_value_and_price_doesnt_exists(
     )
Exemplo n.º 4
0
 def NOT_UNIQUE_EMAIL(cls) -> Error:
     return AnswerService.get_error_not_unique_email()
Exemplo n.º 5
0
 def MEASURE_UNIT_DOESNT_EXISTS(cls) -> Error:
     return AnswerService.get_error_measure_doesnt_exists()
Exemplo n.º 6
0
 def WRONG_PHONE_NUMBER_FORMAT(cls) -> Error:
     return AnswerService.get_wrong_phone_number_format()
Exemplo n.º 7
0
 def EMAIL_IS_NOT_CONFIRMED(cls) -> Error:
     return AnswerService.get_error_email_is_not_confirmed()
Exemplo n.º 8
0
 def WRONG_EMAIL_PASSWORD(cls) -> Error:
     return AnswerService.get_error_wrong_email_password()
Exemplo n.º 9
0
 def FORBIDDEN(cls) -> Error:
     return AnswerService.get_error_forbidden()
Exemplo n.º 10
0
 def CURRENCY_DOESNT_EXISTS(cls) -> Error:
     return AnswerService.get_error_currency_doesnt_exists()
Exemplo n.º 11
0
 def MENU_COMMON_DOESNT_EXISTS(cls) -> Error:
     return AnswerService.get_error_menu_common_doesnt_exists()
 def EMPTY_BODY(cls) -> ValidationError:
     return AnswerService.get_error_empty_body()
 def WORK_ON_HOLIDAY(cls) -> ValidationError:
     return AnswerService.get_error_work_on_holiday()
 def WRONG_CODE_FORMAT(cls) -> ValidationError:
     return AnswerService.get_error_invalid_code_format()
Exemplo n.º 15
0
 def WRONG_PLACE_TYPE(cls) -> Error:
     return AnswerService.get_wrong_place_type()
Exemplo n.º 16
0
 def INVALID_OR_OUTDATED_TOKEN(cls) -> Error:
     return AnswerService.get_error_invalid_or_outdated_token()
Exemplo n.º 17
0
 def WRONG_SERVICE(cls) -> Error:
     return AnswerService.get_wrong_service()
Exemplo n.º 18
0
 def UNKNOWN_CODE(cls) -> Error:
     return AnswerService.get_error_unknown_code()
Exemplo n.º 19
0
 def WRONG_CURRENCY(cls) -> Error:
     return AnswerService.get_wrong_currency()
Exemplo n.º 20
0
 def LIFETIME_CODE_OUT(cls) -> Error:
     return AnswerService.get_error_lifetime_code_out()
Exemplo n.º 21
0
 def PLACE_DOESNT_EXISTS(cls) -> Error:
     return AnswerService.get_error_place_doesnt_exists()
Exemplo n.º 22
0
 def SEND_CODE_TOO_OFTEN(cls) -> Error:
     return AnswerService.get_error_send_code_too_often()
Exemplo n.º 23
0
 def PLACE_FORBIDDEN(cls) -> Error:
     return AnswerService.get_error_place_forbidden()
Exemplo n.º 24
0
 def WRONG_LANGUAGE(cls) -> Error:
     return AnswerService.get_error_wrong_language()
Exemplo n.º 25
0
 def MENU_CATEGORY_DOESNT_EXISTS(cls) -> Error:
     return AnswerService.get_error_menu_category_exists()
Exemplo n.º 26
0
 def NOT_UNIQUE_PLACE_LOGIN(cls) -> Error:
     return AnswerService.get_not_unique_place_login()
Exemplo n.º 27
0
 def DISHES_DOESNT_EXISTS(cls) -> Error:
     return AnswerService.get_error_dishes_doesnt_exists()
Exemplo n.º 28
0
 def WRONG_CUISINE_TYPE(cls) -> Error:
     return AnswerService.get_wrong_cuisine_type()
Exemplo n.º 29
0
 def LANGUAGE_DOESNT_EXISTS(cls) -> Error:
     return AnswerService.get_error_language_doesnt_exists()
 def NOT_FIELD(cls) -> ValidationError:
     return AnswerService.get_error_not_field()