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

club.zhcs.lina.starter.exception.GlobalError Maven / Gradle / Ivy

package club.zhcs.lina.starter.exception;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * @author Kerbores([email protected])
 *
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false, of = {"code", "message"})
@Schema(description = "全局错误")
public class GlobalError {

    @Schema(description = "错误码")
    int code;

    @Schema(description = "错误信息")
    String message;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy