Add Business Transaction Errors

Use AddBTError() to report Business Transaction errors. If you set this function's markBTAsError parameter, the transaction is reported as an error transaction when the error occurs.

The SDK provides constants classifying the error level as APPD_LEVEL_NOTICE, APPD_LEVEL_WARNING, or APPD_LEVEL_ERROR.