MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / constructor

Method constructor

ui/src/api/trading.ts:6–8  ·  view source on GitHub ↗
(public readonly status: number, public readonly response: OrderErrorResponse)

Source from the content-addressed store, hash-verified

4/** Thrown by the one-shot order endpoints when the server returns non-2xx. Carries the phase. */
5export class OrderEntryError extends Error {
6 constructor(public readonly status: number, public readonly response: OrderErrorResponse) {
7 super(response.error)
8 }
9}
10
11/** One contract returned by the broker-side fuzzy search. Shape mirrors what

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected