Releases: MihaiStreames/anyhow-cpp
Releases · MihaiStreames/anyhow-cpp
v0.1.0
Added
Expected<T>/Result<T>result type withUnexpectedfor explicit error constructionFailurewith ring-buffer frame trace, configurable viaANYHOW_MAX_FRAMESfail(msg, domain)andfail_with(payload, msg, domain)for typed payloadsFailure::downcast<T>(),Failure::is<T>(),Failure::chain(),Failure::root_cause()Expected<T>::context(msg)/with_context(fn)for wrapping errors with human-readable layersANYHOW_TRY,ANYHOW_TRY_ASSIGN,ANYHOW_TRY_CATCHfor error propagation with call-site captureANYHOW_BAIL,ANYHOW_ENSUREfor early returnANYHOW_SHORT_MACROSopt-in aliases:TRY,TRY_ASSIGN,TRY_CATCH,BAIL,ENSUREScopeGuardwith move support andrelease()- CMake
anyhow::anyhowtarget viaFetchContentorfind_package