Be specific about where the error was seen when exposing it

Help consumers of the API understand where the error came from when we
expose an error in producing a metadata response.