ServerFnProtocolError
The answer was not a server function answer: an HTML error page from a proxy, a truncated body, a redirect the browser did not follow, an envelope of another version.
The answer was not a server function answer: an HTML error page from a proxy, a truncated body, a redirect the browser did not follow, an envelope of another version. The call may or may not have run on the server.
Import#
ts
import { ServerFnProtocolError } from "@shadow-js/dusk/client";
Signature#
ts
class ServerFnProtocolError extends Error
Members#
| Name | Type | Description |
|---|---|---|
status |
readonly status: number |
The HTTP status of the answer, 0 when there was none. |