fun.fengwk.gateway.share.constant.GatewayErrorCodes Maven / Gradle / Ivy
package fun.fengwk.gateway.share.constant;
import fun.fengwk.convention4j.api.code.DomainConventionErrorCodeEnumAdapter;
import fun.fengwk.convention4j.api.code.HttpStatus;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* @author fengwk
*/
@Getter
@AllArgsConstructor
public enum GatewayErrorCodes implements DomainConventionErrorCodeEnumAdapter {
INVALID_OAUTH2_STATE(HttpStatus.BAD_REQUEST),
;
private final HttpStatus httpStatus;
@Override
public String getDomain() {
return "GATEWAY";
}
}