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