Skip to content

Commit bf6e003

Browse files
authored
Created Python Import Library (#13)
* Created Error Message Library * Updated Indentation
1 parent 11fd3bf commit bf6e003

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

build/lib/errorMessage.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
def systemsError(error_num):
2+
print("Unable to Proceed with Request. Analysing Error...")
3+
if error_num == 1:
4+
print("401: Math Import Module Failure.")
5+
elif error_num == 2:
6+
print("402: Trigonometry: Unknown side is invalid.")
7+
elif error_num == 3:
8+
print("403: Main Command Input is invalid.")
9+
elif error_num == 4:
10+
print("404: Command Input is invalid.")
11+
elif error_num == 5:
12+
print("405: Input is invalid.")
13+
elif error_num == 6:
14+
print("406: Request cannot be conducted.")
15+
else:
16+
print("407 Error. Unable to detect error. Please do us a solid and start a issue on Github! Thanks!")

0 commit comments

Comments
 (0)