UNPKG

@baqhub/sdk-react

Version:

The official React SDK for the BAQ federated app platform.

7 lines (6 loc) 209 B
import { CustomError } from "@baqhub/sdk"; export class InvalidActionError extends CustomError { constructor(state, action) { super("Invalid action: " + JSON.stringify({ state, action })); } }