Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const makeSerializable = require("../util/makeSerializable");
const WebpackError = require("./WebpackError");
class NonErrorEmittedError extends WebpackError {
/**
* @param {EXPECTED_ANY} error value which is not an instance of Error
*/
constructor(error) {
super();
this.name = "NonErrorEmittedError";
this.message = `(Emitted value instead of an instance of Error) ${error}`;
}
}
makeSerializable(
NonErrorEmittedError,
"webpack/lib/errors/NonErrorEmittedError"
);
module.exports = NonErrorEmittedError;