API Reference
isInvalidErrorPayload()
R-data-payload: ERROR payloads must not collide with terminal metadata shorthand.
Import
import { isInvalidErrorPayload } from "@graphrefly/ts/core";
Signature
function isInvalidErrorPayload(v: unknown): boolean
Parameters
| Parameter | Type | Description |
|---|---|---|
v | unknown | v value used by the helper. |
Returns
true when the value matches the expected shape.
Example
import { isInvalidErrorPayload } from "@graphrefly/ts/core";
Source
packages/ts/src/protocol/messages.ts