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

com.envisioniot.enos.iot_http_sdk.HttpConnectionError Maven / Gradle / Ivy

package com.envisioniot.enos.iot_http_sdk;

import com.envisioniot.enos.iot_mqtt_sdk.core.exception.IEnvisionError;

import lombok.Value;

@Value
public class HttpConnectionError implements IEnvisionError
{
    public static final HttpConnectionError CLIENT_ERROR = new HttpConnectionError(-1, "client execption");
    public static final HttpConnectionError UNSUCCESSFUL_AUTH = new HttpConnectionError(-2, "unable to get authenticated");
    public static final HttpConnectionError SOCKET_ERROR = new HttpConnectionError(-3, "socket error");

    private final int errorCode;
    private final String errorMessage;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy