Skip to content

Commit

Permalink
docs: add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
belgattitude committed Sep 24, 2022
1 parent 50b619c commit 7208e7b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .changeset/curly-dragons-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
'@belgattitude/http-exception': minor
---

Export convertToSerializable and createFromSerializable

```typescript
import {
convertToSerializable,
createFromSerializable
} from '@belgattitude/http-exception/serializer';

const serializableObject = convertToSerializable(new HttpForbidden());
const exception = createFromSerializable(serializableObject);
```

0 comments on commit 7208e7b

Please sign in to comment.