Skip to content

@pumpkin-plugins/port-mapping API / upnp / UpnpError

Class: UpnpError ​

Defined in: tools/port-mapping/src/upnp.ts:21

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:23

Creates the error from the gateway's code and text.

Parameters ​

code ​

number

description ​

string

Returns ​

UpnpError

Overrides ​

Error.constructor

Pumpkin Plugins documentation