Show document content or error