<commit_before><?php
/**
 * conjoon
 * (c) 2002-2009 siteartwork.de/conjoon.org
 * <EMAIL>
 *
 * $Author$
 * $Id$
 * $Date$
 * $Revision$
 * $LastChangedDate$
 * $LastChangedBy$
 * $URL$
 */

/**
 * Conjoon_BeanContext
 */
require_once 'Conjoon/BeanContext.php';


/**
 * A class representing an error in the conjoon application.
 *
 * @uses       Conjoon_BeanContext
 * @uses       Serializable
 * @package    Conjoon
 * @subpackage Error
 * @category   Error
 *
 * @author <NAME> <<EMAIL>>
 */
class Conjoon_Error implements Conjoon_BeanContext, Serializable {

    const UNKNOWN       = 'CONJOON_ERROR_UNKNOWN';
    const INPUT         = 'CONJOON_ERROR_INPUT';
    const AUTHORIZATION = 'CONJOON_ERROR_AUTHORIZATION';
    const LOCKED        = 'CONJOON_ERROR_LOCKED';

    const LEVEL_CRITICAL = 'critical';
    const LEVEL_WARNING  = 'warning';
    const LEVEL_ERROR    = 'error';

    protected $level;<commit_msg> - enhancement: added CONJOON_ERROR_DATA constant<commit_after><?php
/**
 * conjoon
 * (c) 2002-2009 siteartwork.de/conjoon.org
 * <EMAIL>
 *
 * $Author$
 * $Id$
 * $Date$
 * $Revision$
 * $LastChangedDate$
 * $LastChangedBy$
 * $URL$
 */

/**
 * Conjoon_BeanContext
 */
require_once 'Conjoon/BeanContext.php';


/**
 * A class representing an error in the conjoon application.
 *
 * @uses       Conjoon_BeanContext
 * @uses       Serializable
 * @package    Conjoon
 * @subpackage Error
 * @category   Error
 *
 * @author <NAME> <ts@siteartwork.de>
 */
class Conjoon_Error implements Conjoon_BeanContext, Serializable {

    const UNKNOWN       = 'CONJOON_ERROR_UNKNOWN';
    const INPUT         = 'CONJOON_ERROR_INPUT';
    const AUTHORIZATION = 'CONJOON_ERROR_AUTHORIZATION';
    const LOCKED        = 'CONJOON_ERROR_LOCKED';
    const DATA          = 'CONJOON_ERROR_DATA';

    const LEVEL_CRITICAL = 'critical';
    const LEVEL_WARNING  = 'warning';
    const LEVEL_ERROR    = 'error';

    protected $level;
{'fraction_non_alphanumeric': 0.12008281573498965, 'fraction_numerical': 0.008281573498964804, 'mean_word_length': 3.2113289760348582, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '6070420', 'n_tokens_mistral': 694, 'n_tokens_neox': 662, 'n_words': 138}