Interface YangNetconfError
-
- All Known Implementing Classes:
ImmutableYangNetconfError
@Beta @NonNullByDefault @Immutable(copy=false) public interface YangNetconfError
Baseline interface for metadata associated with a NETCONF notion of an 'error'. Except what NETCONF regards as an 'error', really means 'notable event' in that it can either be a warning or an error. No warnings were defined at the time this distinction was made.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable String
appTag()
Return this error'serror-app-tag
, if available.List<YangErrorInfo>
info()
Return this error's additional info.@Nullable String
message()
Return this errors'serror-message
, if available.@Nullable YangInstanceIdentifier
path()
Return the path which triggered this error, if available.ErrorSeverity
severity()
Return this error's severity.ErrorTag
tag()
Return this error's tag.ErrorType
type()
Return this error's type.
-
-
-
Method Detail
-
severity
ErrorSeverity severity()
Return this error's severity.- Returns:
- Error severity.
-
type
ErrorType type()
Return this error's type.- Returns:
- Error type.
-
tag
ErrorTag tag()
Return this error's tag.- Returns:
- Error tag.
-
message
@Nullable String message()
Return this errors'serror-message
, if available. This value is expected to be defined in a YANG model through aerror-message
statement.- Returns:
- Event message, or null.
-
appTag
@Nullable String appTag()
Return this error'serror-app-tag
, if available. This value is expected to be defined in a YANG model through aerror-app-tag
statement.- Returns:
- Application tag, or null.
-
path
@Nullable YangInstanceIdentifier path()
Return the path which triggered this error, if available.- Returns:
- Triggering path, or null.
-
info
List<YangErrorInfo> info()
Return this error's additional info.- Returns:
- Additional info.
-
-