(PHP 5 >= 5.5.0, PHP 7, PECL >= 3.0.0a1)
IntlCalendar::getErrorMessage -- intlcal_get_error_message — Get last error message on the object
Object oriented style (method):
public IntlCalendar::getErrorMessage ( ) : string
Procedural style:
intlcal_get_error_message ( IntlCalendar $calendar ) : string
Returns the error message (if any) associated with the error reported by IntlCalendar::getErrorCode() or intlcal_get_error_code(). If there is no associated error message, only the string representation of the name of the error constant will be returned. Otherwise, the message also includes a message set on the side of the PHP binding.
calendar
The calendar object, on the procedural style interface.
The error message associated with last error that occurred in a function call on this object, or a string indicating the non-existance of an error.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/intlcalendar.geterrormessage.php