Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

FEAT: Relate statuses with functions #889

Open
igchor opened this issue Jan 21, 2021 · 0 comments
Open

FEAT: Relate statuses with functions #889

igchor opened this issue Jan 21, 2021 · 0 comments

Comments

@igchor
Copy link
Contributor

igchor commented Jan 21, 2021

FEAT: Relate statuses with functions

Rationale

In theory, each function can return any status which makes a correct error handling code very verbose. In C++ (and bindings) we could relate statuses/exceptions with functions to help with handling possible errors.

Description

TBD.

This could be achieved for example by using different status types (one type for each function, e.g. GetStatus).

API Changes

TBD

Implementation details

TBD

Meta

TBD

@lukaszstolarczuk lukaszstolarczuk added the new need to be triaged label Jan 21, 2021
@lukaszstolarczuk lukaszstolarczuk removed the new need to be triaged label Aug 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants