We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0867dad commit abf894dCopy full SHA for abf894d
src/main/java/main/exceptions/AqualitySQLException.java
@@ -15,6 +15,8 @@ private static String getErrorMessage(String sqlcode){
15
case "45000":
16
case "23505":
17
return "You are trying to create duplicate entity.";
18
+ case "42000":
19
+ return "You Regular expression is not valid!";
20
default:
21
return String.format("Unknown SQL Error: %s", sqlcode);
22
}
@@ -26,6 +28,8 @@ private static Integer getErrorCode(String sqlcode){
26
28
27
29
30
return 409;
31
32
+ return 400;
33
34
return 500;
35
0 commit comments