(public readonly status: number, public readonly response: OrderErrorResponse)
| 4 | /** Thrown by the one-shot order endpoints when the server returns non-2xx. Carries the phase. */ |
| 5 | export 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 |
nothing calls this directly
no outgoing calls
no test coverage detected