We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aefafea commit 8f0596eCopy full SHA for 8f0596e
web/src/utils/parseWagmiError.ts
@@ -1,6 +1,6 @@
1
import { type SimulateContractErrorType } from "@wagmi/core";
2
3
-type ExtendedWagmiError = SimulateContractErrorType & { shortMessage: string; metaMessages: string[] };
+type ExtendedWagmiError = SimulateContractErrorType & { shortMessage?: string; metaMessages?: string[] };
4
5
/**
6
* @param error
0 commit comments