瀏覽代碼

LibJS: Remove ErrorType::NotA and ErrorType::NotAn

Timothy Flynn 3 年之前
父節點
當前提交
6d55e0572d
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      Userland/Libraries/LibJS/Runtime/ErrorTypes.h

+ 0 - 2
Userland/Libraries/LibJS/Runtime/ErrorTypes.h

@@ -57,11 +57,9 @@
     M(JsonMalformed, "Malformed JSON string")                                                                                           \
     M(NegativeExponent, "Exponent must be positive")                                                                                    \
     M(NonExtensibleDefine, "Cannot define property {} on non-extensible object")                                                        \
-    M(NotA, "Not an object of type {}")                                                                                                 \
     M(NotAConstructor, "{} is not a constructor")                                                                                       \
     M(NotAFunction, "{} is not a function")                                                                                             \
     M(NotAFunctionNoParam, "Not a function")                                                                                            \
-    M(NotAn, "Not an {} object")                                                                                                        \
     M(NotAnObject, "{} is not an object")                                                                                               \
     M(NotAnObjectOfType, "Not an object of type {}")                                                                                    \
     M(NotAnObjectOrNull, "{} is neither an object nor null")                                                                            \