WXL
3 天以前 9bce51f651aad297ef9eb6df832bfdaf1de05d84
node_modules/webpack/lib/serialization/ErrorObjectSerializer.js
@@ -11,6 +11,7 @@
class ErrorObjectSerializer {
   /**
    * Creates an instance of ErrorObjectSerializer.
    * @param {ErrorConstructor | EvalErrorConstructor | RangeErrorConstructor | ReferenceErrorConstructor | SyntaxErrorConstructor | TypeErrorConstructor} Type error type
    */
   constructor(Type) {
@@ -18,6 +19,7 @@
   }
   /**
    * Serializes this instance into the provided serializer context.
    * @param {Error | EvalError | RangeError | ReferenceError | SyntaxError | TypeError} obj error
    * @param {ObjectSerializerContext} context context
    */
@@ -31,6 +33,7 @@
   }
   /**
    * Restores this instance from the provided deserializer context.
    * @param {ObjectDeserializerContext} context context
    * @returns {Error | EvalError | RangeError | ReferenceError | SyntaxError | TypeError} error
    */