In theory PHP should use coerce objects with a __toString method to string when passing them to a method which has a string-typed argument, but with the native Exception class this doesn't seem to be working, so cast explicitly. Bug: T388171 Change-Id: I310b97164877445837babed2a4c47795f1c2c277 (cherry picked from commit a14ef848f758612ac9d4e8c881ecdbbccf3e1158) |
||
|---|---|---|
| .. | ||
| Hook | ||
| BadRequestError.php | ||
| BadTitleError.php | ||
| CannotCreateActorException.php | ||
| ErrorPageError.php | ||
| FatalError.php | ||
| HttpError.php | ||
| ILocalizedException.php | ||
| LocalizedException.php | ||
| MWContentSerializationException.php | ||
| MWException.php | ||
| MWExceptionHandler.php | ||
| MWExceptionRenderer.php | ||
| MWUnknownContentModelException.php | ||
| PermissionsError.php | ||
| ProcOpenError.php | ||
| ReadOnlyError.php | ||
| ShellDisabledError.php | ||
| ThrottledError.php | ||
| UserBlockedError.php | ||
| UserNotLoggedIn.php | ||