pmemkv icon indicating copy to clipboard operation
pmemkv copied to clipboard

FEAT: Relate statuses with functions

Open igchor opened this issue 3 years ago • 0 comments

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

igchor avatar Jan 21 '21 11:01 igchor