Class: RpcError
Defined in: netconf/src/messages/rpc-error.ts:96
The server answered with one or more <rpc-error>s of severity error. See RpcError.
Extends
Constructors
Constructor
ts
new RpcError(errors, reply): RpcError;Defined in: netconf/src/messages/rpc-error.ts:105
Parameters
errors
readonly RpcErrorDetail[]
reply
Returns
RpcError
Overrides
Properties
code
ts
readonly code: "ERR_NETCONF_RPC" = 'ERR_NETCONF_RPC';Defined in: netconf/src/messages/rpc-error.ts:99
Stable, machine-readable error code.
Overrides
errors
ts
readonly errors: readonly RpcErrorDetail[];Defined in: netconf/src/messages/rpc-error.ts:101
Every error and warning in the reply, in order.
name
ts
name: string = 'RpcError';Defined in: netconf/src/messages/rpc-error.ts:98
Always 'RpcError'.
Overrides
reply
ts
readonly reply: XmlElement;Defined in: netconf/src/messages/rpc-error.ts:103
The <rpc-reply> element.
Accessors
first
Get Signature
ts
get first(): RpcErrorDetail;Defined in: netconf/src/messages/rpc-error.ts:112
The first error-severity entry.
Returns
tag
Get Signature
ts
get tag(): RpcErrorTag;Defined in: netconf/src/messages/rpc-error.ts:117
The tag of the first error, e.g. 'lock-denied'.