All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fun.fengwk.gateway.share.constant.GatewayErrorCodes Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
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";
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy