<?php 

namespace NPS\Exception;

/**
 * Exception for existing user
 * @author Lukas Korinek
 */
class ExistingUserException extends UserInputException
{
    public function __construct($active)
    {
        parent::__construct($active ? 'existing_user' : 'existing_user_inactive', 'email');
    }
}

