# April 14, 2025

## 0.51.0

**`(feat):`** Add `rawResponse` property to JavaScript errors.

```ts
try {
  const fooBar = await client.foo.bar("id", options);
} catch (e) {
  if (error instanceof FooError) {
    console.log(error.rawResponse);
  } else {
    // ...
  }
}
```