UNPKG

rdme

Version:

ReadMe's official CLI and GitHub Action.

12 lines (11 loc) 297 B
/** * A lightweight Error wrapper that we use for outputting errors that don't need aggressive red * coloring or to be printed with `console.error()`. * */ export default class SoftError extends Error { constructor(output) { super(output); this.name = 'SoftError'; } }