2023-12-18 14:08:07 +00:00
|
|
|
package errmsg
|
|
|
|
|
|
|
|
const (
|
2024-02-20 20:34:51 +00:00
|
|
|
ErrorMsgNotFound = "record not found"
|
|
|
|
ErrorMsgSomethingWentWrong = "something went wrong"
|
|
|
|
ErrorMsgInvalidInput = "invalid input"
|
|
|
|
ErrorMsgInvalidStatus = "invalid status"
|
|
|
|
ErrorMsgPhoneNumberIsNotUnique = "phone number is not unique"
|
|
|
|
ErrorMsgEmailIsNotUnique = "email is not unique"
|
|
|
|
ErrorMsgPhoneNumberIsNotValid = "phone number is not valid"
|
|
|
|
ErrorMsgUserNotAllowed = "user not allowed"
|
|
|
|
ErrorMsgUserNotFound = "benefactor not found"
|
|
|
|
ErrorMsgOtpCodeExist = "please wait a little bit"
|
|
|
|
ErrorMsgOtpCodeIsNotValid = "verification code is not valid"
|
|
|
|
ErrorMsgCantScanQueryResult = "can't scan query result"
|
|
|
|
ErrorMsgPhoneNumberOrPassIsIncorrect = "phone number or password is incorrect"
|
2024-01-26 12:11:50 +00:00
|
|
|
ErrBadRequest = "Bad request"
|
2024-02-20 20:34:51 +00:00
|
|
|
ErrorMsgAcceptKindBoxReqStatus = "only pending requests will have the ability to be confirmed"
|
|
|
|
ErrorMsgRejectKindBoxReqStatus = "only pending requests will have the ability to be rejected"
|
|
|
|
ErrorMsgAssignSenderAgentKindBoxReqStatus = "only accepted kind_box_reqs will have the ability to be assign sender agent"
|
2024-03-14 13:38:42 +00:00
|
|
|
ErrorMsgDeliverKindBoxReqStatus = "only assigned requests will have the ability to be delivered"
|
2024-02-20 20:34:51 +00:00
|
|
|
ErrorMsgAdminIsNotAgent = "admin is not agent"
|
2023-12-18 14:08:07 +00:00
|
|
|
)
|