2 parents 02acd07 + 726f9fd commit 2bb221aCopy full SHA for 2bb221a
1 file changed
docs/blog/2025-02-22/index.md
@@ -103,9 +103,10 @@ export interface ErrorFactory<TParams = any, TError = any> {
103
}
104
```
105
106
-### Маппер ошибок
+### Error Mapper
107
108
-В слое `domains` должен быть определён класс, похожий на паттерн `Adapter`, который приводит все ошибки к типу `ErrorMapped`:
+In the domains layer, there should be a class similar to the `Adapter` pattern that
109
+converts all errors to the `ErrorMapped` type.
110
111
```ts title="src/core/error/types.ts"
112
export interface ErrorMapper {
0 commit comments