diff --git a/src/delta_barth/errors.py b/src/delta_barth/errors.py index 173b77a..cb61bcb 100644 --- a/src/delta_barth/errors.py +++ b/src/delta_barth/errors.py @@ -222,7 +222,7 @@ class ResultWrapper(t.Generic[T]): def wrap_result( - code_on_error: int = DEFAULT_API_ERR_CODE, + code_on_error: int = DEFAULT_INTERNAL_ERR_CODE, ) -> Callable[[Callable[P, T]], Callable[P, ResultWrapper[T]]]: def wrap_result(func: Callable[P, T]) -> Callable[P, ResultWrapper[T]]: @wraps(func)