interface OrderDecodeIssue {
    code: OrderDecodeCode;
    expected: string;
    got: string;
    path: string;
}

Properties

Properties

expected: string

What a readable value looks like, in words the trader can act on.

got: string

The offending value, stringified and clipped. Never the whole payload.

path: string

Where it went wrong, e.g. orders[3].action.