@pumpkin-plugins/port-mapping API / upnp / UpnpError
Class: UpnpError
Defined in: tools/port-mapping/src/upnp.ts:43
An error code a gateway answered a SOAP action with.
Extends
Error
Constructors
Constructor
new UpnpError(
code,description):UpnpError
Defined in: tools/port-mapping/src/upnp.ts:45
Creates the error from the gateway's code and a single-line description.
Parameters
code
number
description
string
Returns
UpnpError
Overrides
Error.constructor