Merge pull request 'added errors and exceptions' (#5) from exceptions into main
All checks were successful
Pack Validation CI / validate (push) Successful in 8s

Reviewed-on: #5
This commit was merged in pull request #5.
This commit is contained in:
2026-05-21 15:00:14 +00:00

View File

@@ -87,57 +87,57 @@
"八进制": "oct" "八进制": "oct"
}, },
"exceptions": { "exceptions": {
"Exception": "Exception", "異常": "Exception",
"BaseException": "BaseException", "基异常": "BaseException",
"ValueError": "ValueError", "值异常": "ValueError",
"TypeError": "TypeError", "类型异常": "TypeError",
"KeyError": "KeyError", "键值异常": "KeyError",
"IndexError": "IndexError", "索引异常": "IndexError",
"AttributeError": "AttributeError", "属性异常": "AttributeError",
"NameError": "NameError", "名称异常": "NameError",
"ImportError": "ImportError", "载入异常": "ImportError",
"FileNotFoundError": "FileNotFoundError", "档案未找到异常": "FileNotFoundError",
"RuntimeError": "RuntimeError", "运行时异常": "RuntimeError",
"ZeroDivisionError": "ZeroDivisionError", "除零异常": "ZeroDivisionError",
"SyntaxError": "SyntaxError", "句法异常": "SyntaxError",
"AssertionError": "AssertionError", "断言异常": "AssertionError",
"MemoryError": "MemoryError", "记忆体异常": "MemoryError",
"OverflowError": "OverflowError", "溢值异常": "OverflowError",
"RecursionError": "RecursionError", "递归异常": "RecursionError",
"PermissionError": "PermissionError", "权限异常": "PermissionError",
"TimeoutError": "TimeoutError", "超时异常": "TimeoutError",
"SystemExit": "SystemExit", "退出系统": "SystemExit",
"KeyboardInterrupt": "KeyboardInterrupt" "键盘中断": "KeyboardInterrupt"
}, },
"error_messages": { "error_messages": {
"SyntaxError": "SyntaxError", "SyntaxError": "句法异常",
"ValueError": "ValueError", "ValueError": "值异常",
"TypeError": "TypeError", "TypeError": "类型异常",
"KeyError": "KeyError", "KeyError": "键值异常",
"IndexError": "IndexError", "IndexError": "索引异常",
"AttributeError": "AttributeError", "AttributeError": "属性异常",
"NameError": "NameError", "NameError": "名称异常",
"ImportError": "ImportError", "ImportError": "载入异常",
"FileNotFoundError": "FileNotFoundError", "FileNotFoundError": "档案未找到异常",
"ZeroDivisionError": "ZeroDivisionError", "ZeroDivisionError": "除零异常",
"RecursionError": "RecursionError", "RecursionError": "递归异常",
"RuntimeError": "RuntimeError", "RuntimeError": "运行时异常",
"MemoryError": "MemoryError", "MemoryError": "属性异常",
"OverflowError": "OverflowError", "OverflowError": "属性异常",
"AssertionError": "AssertionError", "AssertionError": "属性异常",
"PermissionError": "PermissionError", "PermissionError": "权限异常",
"TimeoutError": "TimeoutError", "TimeoutError": "超时异常",
"KeyboardInterrupt": "KeyboardInterrupt" "KeyboardInterrupt": "键盘中断"
}, },
"stdlib": { "stdlib": {
"数学": "math", "数学": "math",
"系统": "sys", "系统": "sys",
"日期时间": "datetime", "日期时间": "datetime",
"时间": "time", "时间": "time",
"random": "random", "随机": "random",
"collections": "collections", "收藏": "collections",
"pathlib": "pathlib", "路径库": "pathlib",
"re": "re" "正则表达式": "re"
}, },
"postfix_keywords": [] "postfix_keywords": []
} }