1
0

syntaxError.js 174 B

12345678
  1. export class SyntaxError extends Error {
  2. constructor (...msg) {
  3. super(...msg);
  4. if(Error.captureStackTrace)
  5. Error.captureStackTrace(this, SyntaxError);
  6. }
  7. }