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 <[email protected]>

---------

Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
  • Loading branch information
3 people authored Jul 18, 2024
1 parent c7659cb commit ba375be
Showing 1 changed file with 149 additions and 210 deletions.
Loading

0 comments on commit ba375be

Please sign in to comment.