public interface Error extends ChildOf<Errors>, Augmentable<Error>
This class represents the following YANG schema fragment defined in module ietf-restconf
list error { leaf error-type { type enumeration { enum transport { } enum rpc { } enum protocol { } enum application { } } } leaf error-tag { type string; } leaf error-app-tag { type string; } leaf error-path { type data-resource-identifier; } leaf error-message { type string; } container error-info { } }The schema path to identify an instance is ietf-restconf/errors/errors/error
To create instances of this class use ErrorBuilder
.
ErrorBuilder
Modifier and Type | Interface and Description |
---|---|
static class |
Error.ErrorType |
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable String |
getErrorAppTag()
The application-specific error tag.
|
@Nullable ErrorInfo |
getErrorInfo()
A container allowing additional informationto be included in the error report.
|
@Nullable String |
getErrorMessage()
A message describing the error.
|
@Nullable DataResourceIdentifier |
getErrorPath()
The target data resource identifier associatedwith the error, if any.
|
@Nullable String |
getErrorTag()
The enumerated error tag.
|
@Nullable Error.ErrorType |
getErrorType()
The protocol layer where the error occurred.
|
getImplementedInterface
augmentation
@Nullable Error.ErrorType getErrorType()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.restconf.rev131019.errors.errors.Error.ErrorType
errorType
, or null
if not present@Nullable String getErrorTag()
java.lang.String
errorTag
, or null
if not present@Nullable String getErrorAppTag()
java.lang.String
errorAppTag
, or null
if not present@Nullable DataResourceIdentifier getErrorPath()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.restconf.rev131019.DataResourceIdentifier
errorPath
, or null
if not present@Nullable String getErrorMessage()
java.lang.String
errorMessage
, or null
if not present@Nullable ErrorInfo getErrorInfo()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.restconf.rev131019.errors.errors.error.ErrorInfo
errorInfo
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.