12 lines
270 B
JavaScript
12 lines
270 B
JavaScript
/*
|
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
Author Jarid Margolin @jaridmargolin
|
|
*/
|
|
"use strict";
|
|
|
|
module.exports = class WebpackError extends Error {
|
|
inspect() {
|
|
return this.stack + (this.details ? `\n${this.details}` : "");
|
|
}
|
|
};
|