mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-27 14:14:11 +01:00
Current file header is : /*! showdown v 2.0.0-alpha1 - 25-09-2018 */ Official 2.0.0-alpha doesn't match neither on content nor date :( Considering date we would be at 1.8.7, but it is also quite different (and has vulnerabilities) In consequence switching to 2.0.0.
10 lines
234 B
JavaScript
10 lines
234 B
JavaScript
export class YError extends Error {
|
|
constructor(msg) {
|
|
super(msg || 'yargs error');
|
|
this.name = 'YError';
|
|
if (Error.captureStackTrace) {
|
|
Error.captureStackTrace(this, YError);
|
|
}
|
|
}
|
|
}
|