Add part to handle proper http errors and to use custom message that can
be used into custom error handler