Class: CertificateError
Defined in: netconf/src/errors.ts:101
The TLS server's certificate wasn't trusted, didn't name the server, or didn't match the pin; or no trust was configured.
Extends
Constructors
Constructor
ts
new CertificateError(message, options?): CertificateError;Defined in: netconf/src/errors.ts:31
Parameters
message
string
options?
Returns
CertificateError
Inherited from
Properties
code
ts
readonly code: "ERR_NETCONF_CERTIFICATE" = 'ERR_NETCONF_CERTIFICATE';Defined in: netconf/src/errors.ts:104
Stable, machine-readable error code.
Overrides
name
ts
name: string = 'CertificateError';Defined in: netconf/src/errors.ts:103
Always 'CertificateError'.