semanticError.js 177 B

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