![]() The Exception's constructor optionally takes an exception message and an exception code. The PHP's Exception class also provides getCode(), getFile(), getLine() and getTraceAsString() methods that can be used to generate detailed debugging information.Įcho "Error message: ". The error message from this object can be retrieved using the Exception's getMessage() method.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |