1 const NETCONF_ERRORS
= {
3 description
: 'The request requires a resource that already is in use.'
6 description
: 'The request specifies an unacceptable value for one or more parameters.'
9 description
: 'The request or response (that would be generated) is too large for the implementation to handle.'
11 'missing-attribute' : {
12 description
: 'An expected attribute is missing.'
15 description
: 'An attribute value is not correct; e.g., wrong type, out of range, pattern mismatch.'
17 'unknown-attribute' : {
18 description
: 'An unexpected attribute is present.'
21 description
: 'An expected element is missing.'
24 description
: 'An element value is not correct; e.g., wrong type, out of range, pattern mismatch.'
27 description
: 'An unexpected element is present.'
29 'unknown-namespace' : {
30 description
: 'An unexpected namespace is present.'
33 description
: 'Access to the requested protocol operation or data model is denied because authorization failed.'
36 description
: 'Access to the requested lock is denied because the lock is currently held by another entity.'
39 description
: 'Request could not be completed because of insufficient resources.'
42 description
: 'Request to roll back some configuration change (via rollback-on-error or <discard-changes> operations) was not completed for some reason.'
45 description
: 'Request could not be completed because the relevant data model content already exists. For example, a "create" operation was attempted on data that already exists.'
48 description
: 'Request could not be completed because the relevant data model content does not exist. For example, a "delete" operation was attempted on data that does not exist.'
50 'operation-not-supported' : {
51 description
: 'Request could not be completed because the requested operation is not supported by this implementation.'
53 'operation-failed' : {
54 description
: 'Request could not be completed because the requested operation failed for some reason not covered by any other error condition.'
58 export default NETCONF_ERRORS
;