Skip to content

Tags: sarvex/result

Tags

v1.0.0

Toggle v1.0.0's commit message

Verified

This commit was signed with the committer’s verified signature.
bitwizeshift Matthew Rodusek
🔖 Prepare for version 1.0.0

This prepares the version information for the 1.0.0 release.

v0.0.1+test7

Toggle v0.0.1+test7's commit message

Verified

This commit was signed with the committer’s verified signature.
bitwizeshift Matthew Rodusek
✨ Attach error with bad_result_access

The exception thrown during access to a `result` object previously
simply contained a generic error message, but did not contain the
error code. This doesn't lend much context to the actual error, which
complicates identification by the user.

The `std::expected` proposal for which this project was once based on
throws an exception containing the `E` type, but derives from an
exception containing the `void` type. This specialization of the
exception is precisely what was being avoided by not doing this in the
first place as part of this implementation.

However, since designsh ave changed, it has become more apparent that it
would be useful to attach the exact error type into the exception for
the few cases that this will be used.

v0.0.1+test4

Toggle v0.0.1+test4's commit message

Verified

This commit was signed with the committer’s verified signature.
bitwizeshift Matthew Rodusek
🔧 Update conanfile definition to include tests

The conanfile has been updated to include the unit tests in the build
process.