Added global error handling middleware
Two custom exceptions - InternalErrorException for server-side problems and BadRequestException for client-side problems
Added global error handling middleware
Two custom exceptions - InternalErrorException for server-side problems and BadRequestException for client-side problems