MessageFormatter::getErrorCode

msgfmt_get_error_code

Get the error code from last operation

&reftitle.description;

&style.oop;

public `int` `MessageFormatter::getErrorCode`

&style.procedural;

`int` `msgfmt_get_error_code` `MessageFormatter` `formatter`

Get the error code from last operation.

&reftitle.parameters;

`formatter`

- The message formatter

&reftitle.returnvalues;

The error code, one of UErrorCode values. Initial value is U_ZERO_ERROR.

&reftitle.seealso;

- `msgfmt_get_error_message`
- `intl_get_error_code`
- `intl_is_failure`