Liam
d2d898a5b8
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 36s
12 lines
331 B
Java
12 lines
331 B
Java
package cc.fascinated.bat.exception;
|
|
|
|
import org.springframework.http.HttpStatus;
|
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
|
|
|
@ResponseStatus(HttpStatus.TOO_MANY_REQUESTS)
|
|
public class RateLimitException extends RuntimeException {
|
|
public RateLimitException(String message) {
|
|
super(message);
|
|
}
|
|
}
|