pub fn sqlstate_for(error: &SqlError) -> &'static str
Return the SQLSTATE code for the given SqlError.
SqlError
The returned string is always a 5-character SQLSTATE code conforming to ISO/IEC 9075.