com.icthh.xm.commons.exceptions.domain.vm.ErrorVM Maven / Gradle / Ivy
package com.icthh.xm.commons.exceptions.domain.vm;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import java.io.Serializable;
/**
* The root view model for all error responses from rest API.
* Created by medved on 20.06.17.
*/
@Getter
public class ErrorVM implements Serializable {
private static final long serialVersionUID = 1L;
protected final String error;
protected final String error_description;
public ErrorVM(String error) {
this(error, null);
}
public ErrorVM(String error, String error_description) {
this.error = error;
this.error_description = error_description;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy