Asserts toolkit


Keywords
library, development, generic, general
License
MIT
Install
dub fetch chap --version 0.4.0

Documentation

Chap Assertions Library

The Chap library is a collection of assertions and other runtime checks that can be used with any D program. Each check can be configured with various failure behaviors through the FailPolicy enum, which is compiled with each check. By default, all checks are configured to function similarly to D's native enforce, but may also be configured to throw a CheckFailureException or CheckFailureError.