static string getErrorName(int $code) Returns the symbolic name for a given error
static bool isFailure(int $errorCode) Returns whether the error code indicates a failure
static int getErrorCode() Returns the error code of the last operation. Returns
class IntlGlobals Provides fake static versions of the global functions in the intl extension.
static string getErrorMessage() Returns the error message of the last operation.
static setError(int $code, string $message = '') Sets the current error.