Interface: RpcErrorSpec
Defined in: netconf/src/testing/fake-server.ts:20
One <rpc-error> for a handler to return, as { errors: [...] } (RFC 6241 §4.3).
Properties
appTag?
readonly appTag?: string;Defined in: netconf/src/testing/fake-server.ts:28
<error-app-tag>: a more specific, data-model-defined condition.
info?
readonly info?: readonly XmlNode[];Defined in: netconf/src/testing/fake-server.ts:34
The children of <error-info>.
message?
readonly message?: string;Defined in: netconf/src/testing/fake-server.ts:32
<error-message>, sent with xml:lang="en".
path?
readonly path?: string;Defined in: netconf/src/testing/fake-server.ts:30
<error-path>: the XPath of the element the error is about.
severity?
readonly severity?: "error" | "warning";Defined in: netconf/src/testing/fake-server.ts:26
<error-severity>. Default 'error'.
tag
readonly tag: string;Defined in: netconf/src/testing/fake-server.ts:24
<error-tag>, such as operation-failed or lock-denied.
type
readonly type: "rpc" | "transport" | "protocol" | "application";Defined in: netconf/src/testing/fake-server.ts:22
<error-type>: the layer where the error occurred.