[*] script
This commit is contained in:
@@ -22,6 +22,11 @@
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-websocket</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -29,6 +29,9 @@ import lombok.extern.slf4j.Slf4j;
|
||||
@Slf4j
|
||||
public final class ErrorUtils {
|
||||
|
||||
private ErrorUtils() {
|
||||
}
|
||||
|
||||
/**
|
||||
* 异常映射
|
||||
*/
|
||||
@@ -54,9 +57,6 @@ public final class ErrorUtils {
|
||||
* SpringBoot异常
|
||||
*/
|
||||
public static final String EXCEPTION_SPRINGBOOT = "org.springframework.boot.web.servlet.error.DefaultErrorAttributes.ERROR";
|
||||
|
||||
private ErrorUtils() {
|
||||
}
|
||||
|
||||
/**
|
||||
* 注册异常(注意继承顺序)
|
||||
|
||||
Reference in New Issue
Block a user