Skip to content

Function: abortMessage() ​

abortMessage(error, originalId): string

Defined in: aborts.ts:101

The user-facing message for an access_gate abort in error, or null if it holds none. Only aborts located in the access_gate module of this package count (originalId: modules keep their original id across upgrades). Without it, any package's access_gate would be claimed — a look-alike, or a superseded package whose codes 13 and 14 meant something else. An abort whose location the error does not show is not claimed.

Parameters ​

error ​

unknown

originalId ​

string

Returns ​

string

2026 Meddleware. All jams preserved.