I want to show users a warning when certain side effects fail in an object edit, but not stop the edits themselves applying. Something like UserFacingError but a nonblocking warning or message instead.
There is no first-class way at the moment to return both a value and apply ontology edits within a Function.
A workaround could involve writing values to an ontology object to indicate that some side effects have failed to apply, and using that object to highlight useful information to the user.