custom exceptions and error logging
possible mysqldb exceptions
custom exceptions for connector and error logging