You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RestApiControllerExceptionsHandler is handling all possible exceptions, which couples it to implementation of different business processes.
We should move process-specific exceptions to the related controllers.
Makes sense to use ApiErrorHandler and HandleApiErrorsWith infrastructure.
We also should provide tests for common types of errors and generate API schema components for those DTOs.
The text was updated successfully, but these errors were encountered:
RestApiControllerExceptionsHandler
is handling all possible exceptions, which couples it to implementation of different business processes.We should move process-specific exceptions to the related controllers.
Makes sense to use
ApiErrorHandler
andHandleApiErrorsWith
infrastructure.We also should provide tests for common types of errors and generate API schema components for those DTOs.
The text was updated successfully, but these errors were encountered: