| 1 |
import { injcectVirtualStackFrame, expectedError } from "./rewrite-stack-trace"; |
| 2 |
|
| 3 |
export default class ConfigError extends Error { |
| 4 |
constructor(message: string, filename?: string) { |
| 5 |
super(message); |
| 6 |
expectedError(this); |
| 7 |
if (filename) injcectVirtualStackFrame(this, filename); |
| 8 |
} |
| 9 |
} |