FIX: sendErrorResponse now works "out of the box"