why were these changes made to the errorResult? Is there an error result for which "ok" should be true?