Class: BaseNotificationError
Defined in: netconf/src/operations/base-notifications.ts:179
A base notification that breaks the ietf-netconf-notifications module.
Extends
Constructors
Constructor
ts
new BaseNotificationError(
event,
field,
problem,
cause?
): BaseNotificationError;Defined in: netconf/src/operations/base-notifications.ts:190
Parameters
event
field
string
problem
string
cause?
unknown
Returns
BaseNotificationError
Overrides
Properties
code
ts
readonly code: string = 'ERR_NETCONF_BASE_NOTIFICATION';Defined in: netconf/src/operations/base-notifications.ts:182
Stable, machine-readable error code.
Overrides
element
ts
readonly element: XmlElement;Defined in: netconf/src/operations/base-notifications.ts:188
The event element.
event
ts
readonly event: string;Defined in: netconf/src/operations/base-notifications.ts:184
The notification name, e.g. netconf-session-end.
field
ts
readonly field: string;Defined in: netconf/src/operations/base-notifications.ts:186
The offending field, e.g. termination-reason or edit/target.
name
ts
name: string = 'BaseNotificationError';Defined in: netconf/src/operations/base-notifications.ts:181
The error class name.