Skip to content

@pumpkin-plugins/port-mapping API / identify / RouterRefusedError

Class: RouterRefusedError ​

Defined in: tools/port-mapping/src/identify.ts:24

A router was found and then turned down by the screen of the discovery.

Extends ​

  • Error

Constructors ​

Constructor ​

new RouterRefusedError(reason, identity): RouterRefusedError

Defined in: tools/port-mapping/src/identify.ts:26

Creates the error.

Parameters ​

reason ​

string

identity ​

RouterIdentity

Returns ​

RouterRefusedError

Overrides ​

Error.constructor

Pumpkin Plugins documentation