|
MessageFormatter::getErrorMessagemsgfmt_get_error_messageGet the error text from the last operation DescriptionObject-oriented style
public string MessageFormatter::getErrorMessage()
Procedural style string msgfmt_get_error_message(MessageFormatter
$formatter )Get the error text from the last operation. Parameters
Return ValuesDescription of the last error. ExamplesExample #1 msgfmt_get_error_message example
Example #2 OO example
The above example will output: ERROR: msgfmt_format: not enough parameters: U_ILLEGAL_ARGUMENT_ERROR (1) See Also
|