diff --git a/js/x11/core/xerrors.js b/js/x11/core/xerrors.js new file mode 100644 index 0000000..fda672d --- /dev/null +++ b/js/x11/core/xerrors.js @@ -0,0 +1,19 @@ +module.exports.errorText = { + 1: 'Bad request', + 2: 'Bad param value', + 3: 'Bad window', + 4: 'Bad pixmap', + 5: 'Bad atom', + 6: 'Bad cursor', + 7: 'Bad font', + 8: 'Bad match', + 9: 'Bad drawable', + 10: 'Bad access', + 11: 'Bad alloc', + 12: 'Bad colormap', + 13: 'Bad GContext', + 14: 'Bad ID choice', + 15: 'Bad name', + 16: 'Bad length', + 17: 'Bad implementation' +};