2 * Copyright (c) 2021 PANTHEON.tech, s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.restconf.nb.rfc8040;
10 import javax.ws.rs.core.Response.Status;
11 import org.eclipse.jdt.annotation.NonNullByDefault;
12 import org.opendaylight.yangtools.yang.common.ErrorTag;
15 * Additional {@link ErrorTag}s.
18 public final class ErrorTags {
20 * Error reported when the request is valid, but the resource cannot be accessed. This tag typically maps to
21 * {@link Status#SERVICE_UNAVAILABLE}.
23 // FIXME: redefine as SERVICE_UNAVAILABLE? It would be more obvious
24 public static final ErrorTag RESOURCE_DENIED_TRANSPORT = new ErrorTag("resource-denied-transport");