ApiCoreClasses
Class: HostError
Defined in: packages/core/src/session/hosting.ts:585
Why a host said no: its status code, and what it said. Status 0 when it gave no answer at all.
Extends
Error
Constructors
Constructor
new HostError(status, message): HostError;Defined in: packages/core/src/session/hosting.ts:587
Parameters
| Parameter | Type |
|---|---|
status | number |
message | string |
Returns
HostError
Overrides
Error.constructor
Properties
cause?
cause?: unknown;Defined in: apps/docs/node_modules/typescript/lib/lib.es2022.error.d.ts:24
Inherited from
Error.cause
message
message: string;Defined in: apps/docs/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from
Error.message
name
name: string;Defined in: apps/docs/node_modules/typescript/lib/lib.es5.d.ts:1074
Inherited from
Error.name
stack?
stack?: string;Defined in: apps/docs/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Error.stack
status
readonly status: number;Defined in: packages/core/src/session/hosting.ts:586