import { Constructor, text } from '@rsdk/common'; import { BootstrapException, Exception } from '../../../exceptions'; import type { ConfigSource } from '../../sources'; @Exception({ description: text`Duplicate configuration source`, }) export class DuplicateSourceException extends BootstrapException { constructor(source: Constructor) { super(`Config source ${source.name} is already registered`); } }