Made ExtractError return a more verbose error message.