externalize Errors to go.httperr for reuse