Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77959912
ModuleDependencyError.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
Sat, Aug 17, 12:03
Size
863 B
Mime Type
text/x-c++
Expires
Mon, Aug 19, 12:03 (2 d)
Engine
blob
Format
Raw Data
Handle
19956740
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
ModuleDependencyError.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("./Dependency").DependencyLocation} DependencyLocation */
/** @typedef {import("./Module")} Module */
class
ModuleDependencyError
extends
WebpackError
{
/**
* Creates an instance of ModuleDependencyError.
* @param {Module} module module tied to dependency
* @param {Error} err error thrown
* @param {DependencyLocation} loc location of dependency
*/
constructor
(
module
,
err
,
loc
)
{
super
(
err
.
message
);
this
.
name
=
"ModuleDependencyError"
;
this
.
details
=
err
.
stack
.
split
(
"\n"
).
slice
(
1
).
join
(
"\n"
);
this
.
module
=
module
;
this
.
loc
=
loc
;
this
.
error
=
err
;
Error
.
captureStackTrace
(
this
,
this
.
constructor
);
}
}
module
.
exports
=
ModuleDependencyError
;
Event Timeline
Log In to Comment