Skip to content

uvhttp_error_handler.h ​

Error handling interface.

This module provides error reporting utilities for logging and handling errors throughout the UVHTTP library.

Functions ​

uvhttp_error_report_(uvhttp_error_t error_code, const char *message, const char *function, const char *file, int line, void *user_data) ​

Return Type: void

Internal error reporting function.

Parameters:

  • error_code: Error code to report
  • message: Error message
  • function: Function name where error occurred
  • file: Source file name
  • line: Line number in source file
  • user_data: User-provided data (can be NULL)

Note: This function is inline-optimized for performance Note: Logs error message using UVHTTP_LOG_ERROR Note: Parameters are marked as unused to suppress warnings

Released under MIT License