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 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's error-message, if available. This value is expected to be defined in a YANG model through a error-message statement.
        Returns:
        Event message, or null.
      • appTag

        @Nullable String appTag()
        Return this error's error-app-tag, if available. This value is expected to be defined in a YANG model through a error-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.