import { IsString } from 'class-validator';
import { NotFoundError } from 'routing-controllers';

/**
 * Error to throw when a runner group couldn't be found.
 */
export class RunnerGroupNotFoundError extends NotFoundError {
	@IsString()
	name = "RunnerGroupNotFoundError"

	@IsString()
	message = "RunnerGroup not found!"
}