errors.ts 268 B

123456789101112
  1. import ExtensibleCustomError from 'extensible-custom-error';
  2. export class PathAlreadyExistsError extends ExtensibleCustomError {
  3. targetPath: string;
  4. constructor(message: string, targetPath: string) {
  5. super(message);
  6. this.targetPath = targetPath;
  7. }
  8. }