[php-src] Issue #7746: mysqli_sql_exception->getSqlState()
| From: | noreply@php.net | Date: | Fri, 10 Dec 2021 00:10:17 +0000 |
| Subject: | [php-src] Issue #7746: mysqli_sql_exception->getSqlState() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238310@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7746
Comment Author: damianwadley
The pattern with exceptions is to keep properties inaccessible and provide a getter method.