public interface ErrorCode
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
ErrorCode.CommonApiErrorCode
Every Api should have errorcode self
|
static class |
ErrorCode.UnknownErrorCode |
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
ERROR_CODE_FOR_UNKNOWN_ERROR |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
code()
Represents the error code.
|
org.springframework.http.HttpStatus |
httpStatus()
The corresponding HTTP status for the given error code
|
String code()
org.springframework.http.HttpStatus httpStatus()
Copyright © 2020. All rights reserved.