Skip to content

Commit 2bb221a

Browse files
committed
Merge branch 'dev'
2 parents 02acd07 + 726f9fd commit 2bb221a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/blog/2025-02-22/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,10 @@ export interface ErrorFactory<TParams = any, TError = any> {
103103
}
104104
```
105105

106-
### Маппер ошибок
106+
### Error Mapper
107107

108-
В слое `domains` должен быть определён класс, похожий на паттерн `Adapter`, который приводит все ошибки к типу `ErrorMapped`:
108+
In the domains layer, there should be a class similar to the `Adapter` pattern that
109+
converts all errors to the `ErrorMapped` type.
109110

110111
```ts title="src/core/error/types.ts"
111112
export interface ErrorMapper {

0 commit comments

Comments
 (0)