Replace multiple catch blocks with single catch(Throwable) funneled through errorResponse() matching the CompanyController pattern. Also clean jsonResponse to accept data+status only, instantiating Response internally. |
||
|---|---|---|
| .. | ||
| Auth | ||
| Controllers | ||
| Exceptions | ||
| Middleware | ||
| Shared/ValueObject | ||
| User | ||