Last change
on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
600 bytes
|
Line | |
---|
1 | /*
|
---|
2 | MIT License http://www.opensource.org/licenses/mit-license.php
|
---|
3 | Author Tobias Koppers @sokra
|
---|
4 | */
|
---|
5 |
|
---|
6 | "use strict";
|
---|
7 |
|
---|
8 | const WebpackError = require("../WebpackError");
|
---|
9 |
|
---|
10 | /** @typedef {import("../Module")} Module */
|
---|
11 |
|
---|
12 | class BuildCycleError extends WebpackError {
|
---|
13 | /**
|
---|
14 | * Creates an instance of ModuleDependencyError.
|
---|
15 | * @param {Module} module the module starting the cycle
|
---|
16 | */
|
---|
17 | constructor(module) {
|
---|
18 | super(
|
---|
19 | "There is a circular build dependency, which makes it impossible to create this module"
|
---|
20 | );
|
---|
21 |
|
---|
22 | this.name = "BuildCycleError";
|
---|
23 | this.module = module;
|
---|
24 | }
|
---|
25 | }
|
---|
26 |
|
---|
27 | module.exports = BuildCycleError;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.