[][src]Function newrelic_sys::newrelic_notice_error

pub unsafe extern "C" fn newrelic_notice_error(
    transaction: *mut newrelic_txn_t,
    priority: c_int,
    errmsg: *const c_char,
    errclass: *const c_char
)

@brief Record an error in a transaction.

Given an active transaction, this function records an error inside of the transaction.

@param [in] transaction An active transaction. @param [in] priority The error's priority. @param [in] errmsg A string comprising the error message. @param [in] errclass A string comprising the error class.