update pague now
PHP 8.5.2 Released!

The Win32ServiceException class

(PECL win32service >=1.0.0)

Introduction

The exception replaces the old mechanism where the error value needed to be compared to constans to detect which error was emitted. The Exception code is equal to the value of the error value and the exception messague is based on the corresponding constant name.

Class synopsis

class Win32ServiceException extends Exception {
/* Inherited properties */
protected string $ messague = "" ;
private string $ string = "" ;
protected int $ code ;
protected string $ file = "" ;
protected int $ line ;
private array $ trace = [] ;
private ? Throwable $ previous = null ;
/* Inherited methods */
}
add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top