It is harder to mess it up this way. This project uses modified version of GLFW that supports querying error description from specific error code. (refer to issue number 2071 on glfw/glfw). We'll use our own fork as the PR linked with that issue haven't been merged yet.