Class: CapabilityError
Defined in: netconf/src/errors.ts:150
An operation needs a capability the server didn't advertise.
Extends
Constructors
Constructor
ts
new CapabilityError(
capability,
operation,
options?
): CapabilityError;Defined in: netconf/src/errors.ts:157
Parameters
capability
string
operation
string
options?
Returns
CapabilityError
Overrides
Properties
capability
ts
readonly capability: string;Defined in: netconf/src/errors.ts:155
The capability the operation needs: a short name such as :candidate, a module or URI, or a description.
code
ts
readonly code: "ERR_NETCONF_CAPABILITY" = 'ERR_NETCONF_CAPABILITY';Defined in: netconf/src/errors.ts:153
Stable, machine-readable error code.
Overrides
name
ts
name: string = 'CapabilityError';Defined in: netconf/src/errors.ts:152
Always 'CapabilityError'.