<commit_before><commit_msg>Adds ConflictHttpException for 409 http errors<commit_after><?php
/**
 * @link http://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

namespace yii\web;

/**
 * ConflictHttpException represents a "Conflict" HTTP exception with status code 409.
 *
 * @author <NAME> <<EMAIL>>
 * @since 2.0
 */
class ConflictHttpException extends HttpException
{
	/**
	 * Constructor.
	 * @param string $message error message
	 * @param integer $code error code
	 * @param \Exception $previous The previous exception used for the exception chaining.
	 */
	public function __construct($message = null, $code = 0, \Exception $previous = null)
	{
		parent::__construct(409, $message, $code, $previous);
	}
}
{'fraction_non_alphanumeric': 0.1276864728192162, 'fraction_numerical': 0.020227560050568902, 'mean_word_length': 4.351351351351352, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3804355', 'n_tokens_mistral': 255, 'n_tokens_neox': 227, 'n_words': 73}