Function newrelic_sdk::transaction_notice_error[][src]

pub fn transaction_notice_error(
    transaction_id: i64,
    exception_type: &str,
    error_message: &str,
    stack_trace: &str,
    stack_frame_delimiter: &str
) -> Result<(), ()>

Identify an error that occurred during the transaction. The first identified error is sent with each transaction.

Must be called after transaction_begin() and before transaction_end().