PlasmaPHP / driver-mysql

The plasma driver for MySQL / MariaDB.

Home Page:https://plasmaphp.github.io/driver-mysql/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elevate invalid arguments for Driver::connect to exception

opened this issue · comments

We should throw an exception when an invalid argument was passed to Driver::connect to inform the developer directly of the mistake, instead of returning a rejected promise.

plasma/core needs to be updated in terms of the documentation.