com.descope.proxy.impl.ErrorDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java library used to integrate with Descope.
The newest version!
package com.descope.proxy.impl;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ErrorDetails {
private String errorCode;
private String errorDescription;
private String errorMessage;
private String message;
public String getActualMessage() {
return errorMessage == null
? message == null ? errorDescription : message
: errorMessage;
}
}