ssube/noicejs

View on GitHub
src/error/InvalidTargetError.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import { BaseError } from './BaseError.js';

/**
 * Error indicating that the decorator target is not valid.
 *
 * @public
 */
export class InvalidTargetError extends BaseError {
  constructor(msg = 'invalid decorator target', ...nested: Array<Error>) {
    super(msg, ...nested);
  }
}