@sky-mavis/katana-swap
Version:
Katana Swap SDK
8 lines • 359 B
TypeScript
/**
* This is hacking out the revert reason from the ethers provider thrown error however it can.
* This object seems to be undocumented by ethers.
* @param error - An error from the ethers provider
*/
declare const swapErrorToUserReadableMessage: (error: any) => string;
export { swapErrorToUserReadableMessage };
//# sourceMappingURL=swap-error.d.ts.map