@cowprotocol/cow-sdk
Version:
<p align="center"> <img width="400" src="https://github.com/cowprotocol/cow-sdk/raw/main/docs/images/CoW.png" /> </p>
16 lines (15 loc) • 518 B
TypeScript
export type OrderCancellationError = {
errorType: OrderCancellationError.errorType;
description: string;
};
export declare namespace OrderCancellationError {
enum errorType {
INVALID_SIGNATURE = "InvalidSignature",
WRONG_OWNER = "WrongOwner",
ORDER_NOT_FOUND = "OrderNotFound",
ALREADY_CANCELLED = "AlreadyCancelled",
ORDER_FULLY_EXECUTED = "OrderFullyExecuted",
ORDER_EXPIRED = "OrderExpired",
ON_CHAIN_ORDER = "OnChainOrder"
}
}