Method Sql.tds()->error() Method error string error() Description Return the last error (or possibly the last warning or informational message).