Add Business Transaction Errors
Use appd_bt_add_error()
to report business transaction errors. If you set
this function parameter, markBTAsError
the transaction is reported as an
error transaction when the error
occurs. For the function {{appd_bt_add_error,}},
the Controller database
truncates log messages that exceed 5,000 characters.
The SDK provides an enum
to classify the error level as
APPD_LEVEL_NOTICE
, APPD_LEVEL_WARNING
, or
APPD_LEVEL_ERROR
.