UNPKG

@helia/verified-fetch

Version:

A fetch-like API for obtaining verified & trustless IPFS content on the web

6 lines 265 B
/** * Error instance properties are not enumerable so we must transform the error * into a plain object if we want to pass it to `JSON.stringify` or similar. */ export declare function errorToObject(err: Error): any; //# sourceMappingURL=error-to-object.d.ts.map