Skip to content

Commit 493e0f4

Browse files
author
Nidhi091999
committed
added error code
1 parent 085da42 commit 493e0f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pro_tes/exceptions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,10 @@ class IPDistanceCalculationError(ValueError):
108108
},
109109
IPDistanceCalculationError: {
110110
"message": "IP distance calculation failed.",
111+
"code": "500",
111112
},
112113
TesUriError: {
113114
"message": "TES URI cannot be parsed",
115+
"code": "400",
114116
},
115117
}

0 commit comments

Comments
 (0)