Skip to content

Class: ProfileError ​

Defined in: netconf/src/devices/profile-spec.ts:24

A profile file is invalid. The message names the profile and the field.

Extends ​

Constructors ​

Constructor ​

ts
new ProfileError(message, options?): ProfileError;

Defined in: netconf/src/errors.ts:31

Parameters ​

message ​

string

options? ​

NetconfErrorOptions

Returns ​

ProfileError

Inherited from ​

NetconfError.constructor

Properties ​

code ​

ts
readonly code: "ERR_NETCONF_PROFILE" = 'ERR_NETCONF_PROFILE';

Defined in: netconf/src/devices/profile-spec.ts:28

Always 'ERR_NETCONF_PROFILE'.

Overrides ​

NetconfError.code


name ​

ts
name: string = 'ProfileError';

Defined in: netconf/src/devices/profile-spec.ts:26

Always 'ProfileError'.

Overrides ​

NetconfError.name

Released under the MIT Licence.