Skip to main content

PortAbortError

Thrown by an async port when the caller's AbortSignal fires before the work finishes. Callers treat it as "ignore this result", never as a failure to show the user.

This is a class exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { PortAbortError } from "@mapcairn/core";

class PortAbortError extends Error

Constructors​

(constructor)​

constructor();

Constructs a new instance of the PortAbortError class

Source: packages/core/src/ports/errors.ts:8