-
Notifications
You must be signed in to change notification settings - Fork 1
/
error_codes.go
74 lines (73 loc) · 4.2 KB
/
error_codes.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
package biteship
const (
ErrRatesPostalCodeInvalidOrNotAvailable = 40001001
ErrRatesPricingFailedDueToMissingParameters = 40001002
ErrRatesNoCourierAvailableForRequestedLocation = 40001010
ErrOrderBookingCourierAPIKeyNotFound = 40002001
ErrOrderKeyNotActivated = 40002002
ErrOrderAuthenticationKeyError = 40002003
ErrOrderMissingTypeField = 40002004
ErrOrderMissingDeliveryTypeValue = 40002005
ErrOrderInvalidDeliveryTypeValue = 40002006
ErrOrderCourierNotAvailableForScheduled = 40002007
ErrOrderIncorrectExtraFeatures = 40002008
ErrOrderCourierNotAvailableForCOD = 40002009
ErrOrderMissingPostalCodeOrCoordinateDestination = 40002010
ErrOrderMissingPostalCodeOrCoordinateOrigin = 40002011
ErrOrderDestinationAddressRequired = 40002012
ErrOrderTimeAlreadyPassed = 40002013
ErrOrderMissingOriginContactName = 40002014
ErrOrderMissingOriginContactPhone = 40002015
ErrOrderMissingOriginAddress = 40002016
ErrOrderMissingDestinationContactName = 40002017
ErrOrderMissingDestinationContactPhone = 40002018
ErrOrderMissingDestinationAddress = 40002019
ErrOrderInvalidOrMissingPostalCode = 40002020
ErrOrderFailedGettingCourierRates = 40002021
ErrOrderMissingOriginCoordinate = 40002022
ErrOrderMissingOriginCoordinateForCourier = 40002023
ErrOrderMissingDestinationCoordinate = 40002024
ErrOrderMissingDestinationCoordinateForCourier = 40002025
ErrOrderCourierNotExist = 40002026
ErrOrderCourierServiceTypeNotExist = 40002027
ErrOrderAccountNotAvailableForCOD = 40002028
ErrOrderInvalidCODType = 40002029
ErrOrderExceededCODValue = 40002030
ErrOrderCourierCannotProvideCOD = 40002031
ErrOrderMissingPODNote = 40002032
ErrOrderCourierCannotProvidePOD = 40002033
ErrOrderCourierCannotProvideInsurance = 40002034
ErrOrderMissingDeliveryDate = 40002035
ErrOrderMissingDeliveryTime = 40002036
ErrOrderSameDayDeliveryOrderTimeRestriction = 40002037
ErrOrderOrderItemIssue = 40002038
ErrOrderPaymentIssue = 40002039
ErrOrderOrderingPartnerIssue = 40002040
ErrOrderFailedToCreateOrder = 40002041
ErrOrderGetOrderDetailsIssue = 40002042
ErrOrderOrderNotFound = 40002057
ErrOrderUpdateOrderIssue = 40002043
ErrOrderCannotEditConfirmedOrder = 40002044
ErrOrderCannotUpdateDeliveredOrder = 40002045
ErrOrderCannotUpdateCancelledOrder = 40002046
ErrOrderCannotUpdateOrderInProgress = 40002047
ErrOrderDevelopmentModeError = 40002048
ErrOrderPaymentUpdateIssue = 40002049
ErrOrderOrderAlreadyInNewStatus = 40002050
ErrOrderFailedToConfirmDevModeOrder = 40002051
ErrOrderFailedToConfirmOrder = 40002052
ErrOrderCannotCancelOrderInCurrentStatus = 40002053
ErrOrderFailedToCancelDevOrder = 40002054
ErrOrderFailedToCancelCourier = 40002055
ErrOrderCancelOrderIssue = 40002056
ErrOrderTagsNotInArrayFormat = 40002058
ErrOrderDuplicateWaybillID = 40002059
ErrOrderDuplicateReferenceID = 40002060
ErrOrderLackOfTransactionData = 40009001
ErrOrderPaymentMethodNotFound = 40009002
ErrOrderPaymentProcessingFailed = 40009003
ErrOrderFailedToCreateTransaction = 40009004
ErrTrackingFailedToGetTrackingData = 40003001
ErrTrackingCourierTrackingNotAvailable = 40003002
ErrTrackingWaybillNotFound = 40003003
)