Lines Matching defs:error_code
147 * Get an error string from context associated with error_code.
150 * @param error_code Get error message for this error code.
158 hx509_get_error_string(hx509_context context, int error_code)
163 if (msg == NULL || msg->code != error_code) {
167 cstr = com_right(context->et_list, error_code);
170 cstr = strerror(error_code);
173 if (asprintf(&str, "<unknown error: %d>", error_code) == -1)
204 * @param error_code Error code for the reason to exit.
213 int error_code, const char *fmt, ...)
222 msg = hx509_get_error_string(context, error_code);