# Functions

CaptureError runs f and optionally adds the returned error to the given error.