com.liveperson.faas.exception.FaaSDetailedException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of functions-client Show documentation
Show all versions of functions-client Show documentation
Functions client for invoking lambdas via the eventsource gateway (a.k.a Asgard)
package com.liveperson.faas.exception;
import com.liveperson.faas.dto.FaaSError;
public class FaaSDetailedException extends FaaSException {
FaaSError faaSError;
public FaaSDetailedException(FaaSError faaSError, RestException cause){
super(faaSError.toString(), cause);
this.faaSError = faaSError;
}
@Override
public synchronized RestException getCause() {
return (RestException) super.getCause();
}
public FaaSError getFaaSError() {
return faaSError;
}
}