Class: SchemaUnavailableError
Defined in: netconf/src/errors.ts:171
A YANG schema the call needs isn't available. Either RFC 7951 JSON was asked for with requireSchema and no schema could be built for some of the data (the server lists no modules, or a module's text could be found nowhere: supplied modules, the bundled IETF modules or <get-schema>), or client.content.modules() was asked for a datastore or YANG library schema the server doesn't list. The message says which and why.
Extends
Constructors
Constructor
ts
new SchemaUnavailableError(message, options?): SchemaUnavailableError;Defined in: netconf/src/errors.ts:31
Parameters
message
string
options?
Returns
SchemaUnavailableError
Inherited from
Properties
code
ts
readonly code: "ERR_NETCONF_SCHEMA_UNAVAILABLE" = 'ERR_NETCONF_SCHEMA_UNAVAILABLE';Defined in: netconf/src/errors.ts:174
Stable, machine-readable error code.
Overrides
name
ts
name: string = 'SchemaUnavailableError';Defined in: netconf/src/errors.ts:173
Always 'SchemaUnavailableError'.