PHP - Manual: Win32ServiceException
2024-12-23
(PECL win32service >=1.0.0)
The exception replaces the old mechanism where the error value needed to be compared to constants to detect which error was emitted. The Exception code is equal to the value of the error value and the exception message is based on the corresponding constant name.
官方地址:https://www.php.net/manual/en/class.win32serviceexception.php