Add internal error and use it for todos

This commit is contained in:
Andrew Morris
2023-06-29 08:50:48 +10:00
parent aab67fd678
commit 14f7ee2cb6
17 changed files with 208 additions and 90 deletions

View File

@@ -25,6 +25,7 @@ pub enum BuiltinName {
Error,
TypeError,
RangeError,
InternalError,
Symbol,
SymbolIterator,
@@ -46,6 +47,7 @@ pub const BUILTIN_NAMES: [&str; BuiltinName::COUNT] = [
"Error",
"TypeError",
"RangeError",
"InternalError",
"Symbol",
"SymbolIterator",
"BigInt",