Function Connection.errorMessage

Returns the error message most recently generated by an operation on the connection

string errorMessage() nothrow const;