Skip to content

Fail-safe mode: return without throwing on failure #157

@Deilan

Description

@Deilan

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions