Skip to content

[RFC]: Exceptions should be caught only in the ResponseMiddleware #393

@alexmerlin

Description

@alexmerlin

RFC

As per my brainstorming with @MarioRadu a couple of days ago:
No class (entity, repository, service etc) should treat exceptions internally without rethrowing it.
If an exception occurrs, it should be allowed to propagate until it reaches the ResponseMiddleware.php

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions