AbstractNylasApiError

public class AbstractNylasApiError extends Exception

Base class for all Nylas API errors.

Parameters

message

The error message.

statusCode

The HTTP status code of the error response.

requestId

The unique identifier of the request.

headers

The HTTP headers of the error response.

Inheritors

Properties

Link copied to clipboard
private final Throwable cause
Link copied to clipboard
Link copied to clipboard
private final String message
Link copied to clipboard
private String requestId
Link copied to clipboard

Functions

Link copied to clipboard
public final Unit addSuppressed(Throwable p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public String getMessage()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Array<Throwable> getSuppressed()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit setHeaders(Map<String, List<String>> headers)
Link copied to clipboard
public Unit setRequestId(String requestId)
Link copied to clipboard
Link copied to clipboard
public Unit setStatusCode(Integer statusCode)