Optional
options: ErrorOptionsOptional
causeBelow ES2022, Error has no cause
.
Adding it here as fallback so it is still accessible.
Readonly
operationOptional
stackStatic
Optional
prepareOptional override for formatting stack traces
Optional override for formatting stack traces
Static
stackStatic
captureStatic
createOptional
options: ErrorOptionsGenerated using TypeDoc
Pendle SDK Error base class to be extended by all errors.
Remarks
We use this class for later error handling and wrapping.
By wrapping all the errors throw by Ethers.js with this class, we can show user-friendly error messages to users.