import { Constructor, text } from '@rsdk/common'; import { BootstrapException, Exception } from '../../../exceptions'; import type { Config } from '../../config.abstract'; @Exception({ description: text`Duplicate @ConfigSection with same class name`, }) export class DuplicateSectionException extends BootstrapException { constructor(section: Constructor) { super(`Config section ${section} is already registered`); } }