cpr_error_trigger()

Synopsis

#include <cpr/error.h>

Description

Parameters

Return Value

Errors

This function sets errno to the value given in the error_code argument.

Complexity

Constant.

Example

cpr_error_trigger(__func__, ENOMEM, "out of memory");