HTTP-friendly error objects