Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122111956
ChunkRenderError.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jul 15, 20:38
Size
709 B
Mime Type
text/x-c++
Expires
Thu, Jul 17, 20:38 (2 d)
Engine
blob
Format
Raw Data
Handle
27436101
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
ChunkRenderError.js
View Options
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const WebpackError = require("./WebpackError");
/** @typedef {import("./Chunk")} Chunk */
class ChunkRenderError extends WebpackError {
/**
* Create a new ChunkRenderError
* @param {Chunk} chunk A chunk
* @param {string} file Related file
* @param {Error} error Original error
*/
constructor(chunk, file, error) {
super();
this.name = "ChunkRenderError";
this.error = error;
this.message = error.message;
this.details = error.stack;
this.file = file;
this.chunk = chunk;
Error.captureStackTrace(this, this.constructor);
}
}
module.exports = ChunkRenderError;
Event Timeline
Log In to Comment