class RemoteHandlerError
extends Error
Since 0.1.0

Thrown by IMessageBroker.request when the remote responder threw while handling the request. The responder's error message is propagated back to the caller in remoteMessage.

Constructors

RemoteHandlerError(remoteMessage: string)

Properties

readonly
remoteMessage: string

The error message reported by the remote responder.

Usage

import { RemoteHandlerError } from "messaging-plugin/src/index.ts";