All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pubnub.api.PubNubError Maven / Gradle / Ivy

Go to download

PubNub is a cross-platform client-to-client (1:1 and 1:many) push service in the cloud, capable of broadcasting real-time messages to millions of web and mobile clients simultaneously, in less than a quarter second!

There is a newer version: 4.6.5
Show newest version
package com.pubnub.api;


import com.fasterxml.jackson.databind.JsonNode;
import lombok.Builder;
import lombok.Getter;

/**
 * PubNubError object is passed to errorCallback. It contains details of error,
 * like error code, error string, and optional message
 *
 * @author PubNub
 *
 */
@Getter
@Builder
public class PubNubError {

    private final int errorCode;
    private final int errorCodeExtended;
    private final JsonNode errorObject;
    /**
     * includes a message from the thrown exception (if any.)
     */
    private final String message;
    /**
     * PubNub supplied explanation of the error.
     */
    private final String errorString;

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy