3.0.2
3.0.2 (2025-10-24)
🐛 Bug fix(es)
try {
// ..blah
} catch (err: unknown)
if (err instanceof WretchError)
// Should now work fine, used to crash with an error of type: "body has already been read"
console.log(await err.response.json());
}
}