1. Home
  2. Browse
  3. try-catcher

try-catcher

v1.0.1#0Latest

C++ header uses RAII to try each step of a sequence of operations, catch all exceptions that may occur, and throw a single, composite message when TryCatcher goes out of scope.

Install

Run the following Vcpkg command to install the port.

vcpkg install try-catcher

Usage

# This package is a single header. Add this to your CMakeLists.txt after declaring the project.

find_path(TRY_CATCHER_INCLUDE_DIRS "TryCatcher.h")

target_include_directories(${PROJECT_NAME} PRIVATE ${TRY_CATCHER_INCLUDE_DIRS})

See source

Version

v1.0.1#0

Publication

Supports

All

GitHub

daleabarnard/try-catcher

Homepage

github.com/daleabarnard/try-catcher

Subtree

8c91c8da33

License

MIT

Definition

Manifest