Use HTTP exceptions instead of plain status codes