getError

public final NylasApiError getError()

The error, if this operation failed. Only NylasApiError.type, NylasApiError.message and NylasApiError.providerError are set; use status for this operation's HTTP status and BatchEventsResponse.requestId for the request ID.