ssube/noicejs

View on GitHub
src/error/LoggerNotFoundError.ts

Summary

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

/**
 * Error indicating that a debug method has been called, but no logger was registered for debugging.
 *
 * @public
 */
export class LoggerNotFoundError extends MissingValueError {
  constructor(msg = 'logger not found', ...nested: Array<Error>) {
    super(msg, ...nested);
  }
}