com.mindee.parsing.common.ErrorDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mindee-api-java Show documentation
Show all versions of mindee-api-java Show documentation
Java Library to call Mindee's Off-The-Shelf and Custom APIs
package com.mindee.parsing.common;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.Getter;
/**
* Represent error details.
*/
@Getter
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonDeserialize(using = ErrorDetailsDeserializer.class)
public class ErrorDetails {
/**
* More precise information about the current error.
*/
private final String value;
public ErrorDetails(String details) {
this.value = details;
}
@Override
public String toString() {
return this.value;
}
}