package com.flightticket.exception;

/**
 * Exception thrown when attempting to create a user with duplicate username or email
 */
public class DuplicateUserException extends RuntimeException {
    
    public DuplicateUserException(String field, String value) {
        super("User already exists with " + field + ": " + value);
    }
}
