1. Home
  2. Browse
  3. try-catcher

try-catcher

v1.0.1#0Latest

A C++ header that uses the RAII pattern to simplify catching and reporting errors for a sequence of steps, throwing all accumulated exception messages as a single exception when going 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-catcher0

Homepage

github.com/daleabarnard/try-catcher

Subtree

8c91c8da33

License

MIT

Definition

Manifest