Bat/src/main/java/cc/fascinated/bat/exception/RateLimitException.java

12 lines
331 B
Java
Raw Normal View History

2024-06-24 12:56:01 +00:00
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);
}
}