Added project
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package ru.resprojects.restsrv.exception;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@AllArgsConstructor
|
||||
public class ErrorMessage implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -814379271893846783L;
|
||||
|
||||
@Schema(description = "Сообщение о ошибке")
|
||||
@JsonProperty("msg")
|
||||
private String message;
|
||||
|
||||
public ErrorMessage() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user