We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25fd590 commit 4cb0216Copy full SHA for 4cb0216
1 file changed
rentplace/src/main/java/kattsyn/dev/rentplace/exceptions/TooManyRequestsException.java
@@ -0,0 +1,9 @@
1
+package kattsyn.dev.rentplace.exceptions;
2
+
3
+import org.springframework.http.HttpStatus;
4
5
+public class TooManyRequestsException extends AppException{
6
+ public TooManyRequestsException(String message) {
7
+ super(HttpStatus.TOO_MANY_REQUESTS.value(), "TOO_MANY_REQUESTS", message);
8
+ }
9
+}
0 commit comments