Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct ($message=null, $code=0) | |
![]() | |
hasChainedException () | |
getChainedException () | |
![]() | |
__construct ($msg='', $code=0, Exception $previous=null) | |
__call ($method, array $args) | |
__toString () | |
Additional Inherited Members | |
![]() | |
_getPrevious () | |
Definition at line 34 of file Exception.php.
__construct | ( | $message = null , |
|
$code = 0 |
|||
) |
Constructor
If $message is an array, the assumption is that the return value of sqlsrv_errors() was provided. If so, it then retrieves the most recent error from that stack, and sets the message and code based on it.
null | array | string | $message | |
null | int | $code |
Definition at line 46 of file Exception.php.