runtimeError.js 175 B

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