Deduplicate error methods in Firebird_Result class