Trait ibm_db::GetDiagRec[][src]

pub trait GetDiagRec {
    fn get_diag_rec(&self, record_number: i16) -> Option<DiagnosticRecord>;
}
Expand description

Allows retrieving a diagnostic record, describing errors (or lack thereof) during the last operation.

Required methods

Retrieves a diagnostic record

record_number - Record numbers start at one. If you pass an number < 1 the function will panic. If no record is available for the number specified none is returned.

Implementors