massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / pymysql / err.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2and3/pymysql/err.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2and3/pymysql/err.pyi
new file mode 100644 (file)
index 0000000..1886331
--- /dev/null
@@ -0,0 +1,18 @@
+from typing import Dict\r
+from .constants import ER as ER\r
+\r
+class MySQLError(Exception): ...\r
+class Warning(MySQLError): ...\r
+class Error(MySQLError): ...\r
+class InterfaceError(Error): ...\r
+class DatabaseError(Error): ...\r
+class DataError(DatabaseError): ...\r
+class OperationalError(DatabaseError): ...\r
+class IntegrityError(DatabaseError): ...\r
+class InternalError(DatabaseError): ...\r
+class ProgrammingError(DatabaseError): ...\r
+class NotSupportedError(DatabaseError): ...\r
+\r
+error_map = ...  # type: Dict\r
+\r
+def raise_mysql_exception(data) -> None: ...\r