Skip to content

Commit

Permalink
Update ember-compatibility-functions to always return error codes i…
Browse files Browse the repository at this point in the history
…nstead of directly encoding them as success. (#34392)

* Let the read implementation return the error status for failed reads.

The checkpoint logic and error statuses are duplicated between
Engine.cpp and ember-compatibility-functions.

This change makes the code consistent either error out (with
something that the engine can handle) or encode success.

* Fix typo

* One more code cleanup for return values. No more global statuses

* minor update to kick ci

* Update src/app/util/ember-compatibility-functions.cpp

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>

---------

Co-authored-by: Andrei Litvin <andreilitvin@google.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
  • Loading branch information
3 people authored and pull[bot] committed Aug 13, 2024
1 parent 8709ac7 commit 62bcc06
Showing 1 changed file with 149 additions and 210 deletions.
Loading

0 comments on commit 62bcc06

Please sign in to comment.