{"id":61891,"library":"xcb-util-errors","title":"xcb-util-errors","description":"XCB utility library that gives human readable names to error, event, & request codes.","status":"active","version":"1.0.1","language":"cpp","source_language":null,"source_url":null,"tags":["xcb","x11","errors","utility"],"install":[{"cmd":"vcpkg install xcb-util-errors","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(xcb_util_errors CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE xcb-util-errors::xcb-util-errors)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"xcb/xcb_errors.h","correct":"#include <xcb/xcb_errors.h>"}],"quickstart":{"code":"#include <xcb/xcb_errors.h>\n#include <cstdio>\n\nint main() {\n    xcb_errors_context_t *err_ctx;\n    xcb_errors_context_new(NULL, &err_ctx);\n    printf(\"Error context created\\n\");\n    xcb_errors_context_free(err_ctx);\n    return 0;\n}","lang":"cpp","description":"Create and free an XCB errors context"},"warnings":[{"fix":"Pass a valid xcb_connection_t* to xcb_errors_context_new()","message":"Requires XCB connection to be established before creating error context","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'code':17 'error':4,14,20 'event':15 'give':9 'human':10 'librari':7 'name':12 'readabl':11 'request':16 'util':3,6,21 'x11':19 'xcb':2,5,18 'xcb-util-error':1","created_at":"2026-06-17T05:09:23.246190+00:00","updated_at":"2026-06-17T05:09:23.246190+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}