Currently, when a client.invoke results in a failure, an error object is constructed and thrown, adhering to the fail-fast principle. I would like to know if there is a mode or configuration option available where the result is returned without constructing and throwing an error object (fail-safe).
Specifically, I'm looking for a way to handle errors where the method returns a result object with an error flag or code, allowing the caller to handle the error without exceptions being thrown. Is such a mode supported or planned for future releases?