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

fun.fengwk.convention4j.example.code.ExampleErrorCodes Maven / Gradle / Ivy

There is a newer version: 1.1.3
Show newest version
package fun.fengwk.convention4j.example.code;

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 ExampleErrorCodes implements DomainConventionErrorCodeEnumAdapter {

    EXAMPLE_ERROR(HttpStatus.INTERNAL_SERVER_ERROR),
    ;

    private final HttpStatus httpStatus;

    @Override
    public String getDomain() {
        return "Example";
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy