import { text } from '@rsdk/common'; import { BootstrapException } from '../../base'; import { Exception } from '../../metadata'; @Exception({ description: text` Means that some provider or other object that were called was not registered properly. `, }) export class NoInitException extends BootstrapException { constructor(type: string, name: string, hint?: string) { const parts = [`${type} <${name}> is not registered/initialized!`]; if (hint) { parts.push(`Hint: ${hint}`); } super(parts.join(' ')); } }