You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/execution/common/errors.go
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -88,4 +88,6 @@ var (
88
88
ErrInvalidOrderPrice=errors.New("invalid order price")
89
89
// ErrIsolatedMarginFullyCollateralised is returned when a party tries to switch margin modes on a fully collateralised market.
90
90
ErrIsolatedMarginFullyCollateralised=errors.New("isolated margin not permitted on fully collateralised markets")
91
+
// ErrSettlementDataOutOfRange is returned when a capped future receives settlement data that is outside of the acceptable range (either > max price, or neither 0 nor max for binary settlements).
92
+
ErrSettlementDataOutOfRange=errors.New("settlement data is outside of the price cap")
0 commit comments