Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92209171
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
Mon, Nov 18, 08:15
Size
863 B
Mime Type
text/x-c++
Expires
Wed, Nov 20, 08:15 (2 d)
Engine
blob
Format
Raw Data
Handle
22394697
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