Interface: RpcErrorDetail
Defined in: netconf/src/messages/rpc-error.ts:38
One <rpc-error> (RFC 6241 §4.3).
Properties
appTag?
readonly appTag?: string;Defined in: netconf/src/messages/rpc-error.ts:46
The data-model or implementation-specific error condition (error-app-tag), if sent.
element
readonly element: XmlElement;Defined in: netconf/src/messages/rpc-error.ts:61
The original <rpc-error> element.
info?
readonly info?: XmlElement;Defined in: netconf/src/messages/rpc-error.ts:59
<error-info> content, such as <session-id> for lock-denied or <bad-element>.
message?
readonly message?: string;Defined in: netconf/src/messages/rpc-error.ts:55
The human-readable description (error-message), trimmed, if sent.
messageLang?
readonly messageLang?: string;Defined in: netconf/src/messages/rpc-error.ts:57
The language of message (its xml:lang), such as 'en', if sent.
path?
readonly path?: string;Defined in: netconf/src/messages/rpc-error.ts:53
An XPath expression locating the problem. Its prefixes resolve with the namespace declarations in scope on element (RFC 6241 §4.3), which include any the server declared on <rpc-reply>: element.lookupNamespace(prefix).
severity
readonly severity: RpcErrorSeverity;Defined in: netconf/src/messages/rpc-error.ts:44
error-severity; anything other than warning reads as 'error'.
tag
readonly tag: RpcErrorTag;Defined in: netconf/src/messages/rpc-error.ts:42
The error condition (error-tag), such as 'lock-denied'. 'operation-failed' if the server sent none.
type
readonly type: string & object | RpcErrorType;Defined in: netconf/src/messages/rpc-error.ts:40
The layer the error occurred in (error-type). 'rpc' if the server sent none.