Lines Matching defs:error

54  * of error messages between libscf and svccfg.
59 * template. Validation and error functions are at the end of this file.
151 * Returns 1 if the supplied error is a member of the error array, 0
155 ismember(const scf_error_t error, const scf_error_t error_array[])
160 if (error == error_array[i])
245 * On error, returns NULL and sets scf_error() to _CONNECTION_BROKEN,
275 * On error, returns NULL and sets scf_error() to _CONNECTION_BROKEN,
892 * not be an error depending on the caller. Return 0 in that case,
962 * Returns NULL on error, sets scf_error() to:
1093 * Returns NULL on error, sets scf_error() to:
1330 * Returns SCF_WALK_NEXT for not found, SCF_WALK_ERROR for error,
1332 * On error, destroy pg and set it to NULL.
1376 * If match, return 0. If no match, return 1. If error, return -1.
1377 * On error set scf_error() to _BACKEND_ACCESS, _CONNECTION_BROKEN,
1910 * or globally). Returns 0 on success and -1 on error, and sets
2274 * iterate, -1 on error.
2278 * Returns -1 on error and sets scf_error() to:
3529 * On error set scf_error() _NO_MEMORY, or _NOT_SET (val has not been set
3573 goto error;
3578 goto error;
3584 goto error;
3589 goto error;
3593 error:
3753 goto error;
3759 goto error;
3763 error:
3877 goto error;
3924 error:
3976 goto error;
4024 error:
4121 goto error;
4138 goto error;
4141 goto error;
4159 goto error;
4162 goto error;
4172 error:
4423 * Templates error messages format, in human readable form.
4424 * Each line is one error item:
4426 * prefix error message
4439 * To add a new error type, include scf_tmpl_error_type_t in libscf.h
4441 * _tmpl_error_access array with the new error code. Also, update the
4445 * To add a new error item, add a new field to scf_tmpl_error_t, a new field
4446 * in _scf_tmpl_error_desc or a new non-error-dependent string, add a new entry
4450 * Changes to both the validation logic and the error types and items must
4470 * Templates error-dependent labels
4480 * This array MUST be kept in synch with the template error definition of
4534 * Templates non error-dependent labels
4922 * Templates error item retrival functions
4927 * if new items (lines) are added to the templates error messages,
5783 * error is appended to "errs". pg and prop, if supplied, are used to
5784 * augment the information in the error. Returns 0 on success.
5941 * Help make the error more human-friendly. If
6051 /* error message */
6163 * Returns -1 on error. Sets scf_error():
7139 * Can set error to:
7282 * Can set error to: