grouping errors {
description
"A grouping that contains a YANG container
representing the syntax and semantics of a
YANG Patch errors report within a response message.";
container errors {
config false;// needed so list error does not need a key
description
"Represents an error report returned by the server if
a request results in an error.";
list error {
description
"An entry containing information about one
specific error that occurred while processing
a RESTCONF request.";
reference "RFC 6241, Section 4.3";
leaf error-type {
type enumeration {
enum transport {
description "The transport layer";}enum rpc {
description "The rpc or notification layer";}enum protocol {
description "The protocol operation layer";}enum application {
description "The server application layer";}}
mandatory true;
description