Skip to content

Commit ccc2aca

Browse files
committed
docs: update README for improved clarity and additional links
1 parent 933782a commit ccc2aca

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
[![Total TypeScript](https://img.shields.io/badge/Types-100%25%20Safe-blue)](https://github.com/tarnishablec/thaterror)
1212
[![No Any](https://img.shields.io/badge/Any-None-success)](https://github.com/tarnishablec/thaterror)
1313

14-
A concise, type-safe error handling toolkit for TypeScript inspired by Rust's thiserror. Use the
14+
A concise, type-safe error handling toolkit for TypeScript inspired by Rust's [thiserror](https://github.com/dtolnay/thiserror). Use the
1515
`@thaterror/core` package to define domain-driven error families with zero boilerplate, then adopt
16-
or serialize them with optional adapters (for example, a `pino` adapter is available).
16+
or serialize them with optional adapters (for example, a [pino](https://github.com/pinojs/pino) adapter is available).
1717

1818
## The Core Value
1919

@@ -63,7 +63,7 @@ bun add @thaterror/pino-adapter pino
6363

6464
See the individual package READMEs for development and testing instructions.
6565

66-
## Examples ✨ — `Rust thiserror` / `@thaterror/core` / `Native Error`
66+
## Comparison ✨ — `Rust thiserror` / `@thaterror/core` / `Native Error`
6767

6868
Rust (thiserror) 🦀
6969

@@ -116,7 +116,7 @@ throw App.NotFound('123');
116116
// - Cost: minimal boilerplate with strong TypeScript typing.
117117
```
118118

119-
Use `@thaterror/core` with `neverthrow` — full Rust-like Result<T, E> experience 🧭
119+
Use `@thaterror/core` with [neverthrow](https://github.com/supermacro/neverthrow) — full Rust-like Result<T, E> experience 🧭
120120

121121
```ts
122122
// Combine @thaterror/core (typed errors) with neverthrow's Result for ergonomic,

0 commit comments

Comments
 (0)