forked from ShipEngine/shipengine-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror_source.py
More file actions
33 lines (27 loc) · 1.07 KB
/
Copy patherror_source.py
File metadata and controls
33 lines (27 loc) · 1.07 KB
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
"""Enumeration of error sources returned by ShipEngine API."""
from enum import Enum
class ErrorSource(Enum):
"""
Indicates where an error originated from. This lets you know whether you should
contact ShipEngine for support or if you should contact the carrier or
marketplace instead.
"""
SHIPENGINE = "shipengine"
"""
The error is from ShipEngine. If you have any questions or require support,
please contact us
"""
CARRIER = "carrier"
"""
The error came from a shipping carrier (such as UPS, FedEx, DHL, etc).
ShipEngine support may be able to help clarify the error for you, but if
the problem is with your carrier account, then you will need to contact
them directly.
"""
ORDER_SOURCE = "order_source"
"""
The error came from an order source (such as Shopify, Ebay, WalMart, etc).
ShipEngine support may be able to help clarify the error for you, but if
the problem is with your seller account, then you will need to contact
them directly.
"""