Lines Matching refs:error

1 The intl extension has particular conventions regarding error reporting.
4 :: The last error is always stored globally.
6 The global error code can be obtained in userland with intl_get_error_code().
7 This is a U_* error code defined by ICU, but it does not have necessarily to be
9 PHP wrapper functions can set these error codes when appropriate. For instance,
11 wrapper function should set the global error code to U_ILLEGAL_ARGUMENT_ERROR).
13 The error code (an integer) can be converter to the corresponding enum name
21 error occurred).
23 The internal PHP code can set the global last error with:
34 :: The last is ALSO stored in the object whose method call triggered the error,
35 unless the error is due to bad arguments, in which case only the global error
45 The global error and the object error can be SIMULTANEOUSLY set with these
52 Node the extra 's' in the functions' names ('errors', not 'error').
54 Static methods should only set the global error.
60 These methods are used to retrieve the error codes stored in the object's
65 :: Intl methods and functions should return FALSE on error (even argument
74 :: Intl functions and methods should reset the global error before doing
76 the object's private error
79 ICU operates, where functions return immediately if an error is set.
82 void intl_error_reset(NULL); /* reset global error */
83 void intl_errors_reset(intl_error* err); /* reset global and object error */
90 way to reset the object's internal error code. Instead, resetting of the
91 object's internal error code is done upon fetching the object from its zval.
97 BREAKITER_METHOD_INIT_VARS; /* macro also resets global error */
109 BREAKITER_METHOD_FETCH_OBJECT; /* macro also resets object's error */
115 object's error code.