source: trip-planner-front/node_modules/webpack/lib/ChunkRenderError.js@ 1ad8e64

Last change on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 657 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
8const WebpackError = require("./WebpackError");
9
10/** @typedef {import("./Chunk")} Chunk */
11
12class ChunkRenderError extends WebpackError {
13 /**
14 * Create a new ChunkRenderError
15 * @param {Chunk} chunk A chunk
16 * @param {string} file Related file
17 * @param {Error} error Original error
18 */
19 constructor(chunk, file, error) {
20 super();
21
22 this.name = "ChunkRenderError";
23 this.error = error;
24 this.message = error.message;
25 this.details = error.stack;
26 this.file = file;
27 this.chunk = chunk;
28 }
29}
30
31module.exports = ChunkRenderError;
Note: See TracBrowser for help on using the repository browser.