]> git.basschouten.com Git - openhab-addons.git/blob
78baab6bf33a3ef1f9af4b6f8a2ba2de28a557da
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.asuswrt.internal.constants;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link AsuswrtErrorConstants} class defines error constants, which are used across the whole binding.
19  *
20  * @author Christian Wild - Initial contribution
21  */
22 @NonNullByDefault
23 public class AsuswrtErrorConstants {
24
25     public static final String ERR_HTTP_CLIENT_FAILED = "Starting 'httpClient' failed";
26     public static final String ERR_CONN_TIMEOUT = "Connection timeout";
27     public static final String ERR_RESPONSE = "Response not okay";
28     public static final String ERR_JSON_FORMAT = "Unexpected or malfomrated JSON response";
29     public static final String ERR_JSON_UNKNOWN_MEMBER = "JSON member not found";
30     public static final String ERR_SSL_EXCEPTION = "SSL Exception";
31     public static final String ERR_INVALID_MAC_ADDRESS = "Invalid MAC address";
32     public static final String ERR_BRIDGE_OFFLINE = "Bridge is offline";
33     public static final String ERR_BRIDGE_NOT_DECLARED = "Bridge not found or not declared";
34 }