2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.asuswrt.internal.constants;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * The {@link AsuswrtErrorConstants} class defines error constants, which are used across the whole binding.
20 * @author Christian Wild - Initial contribution
23 public class AsuswrtErrorConstants {
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";