<commit_before>/*******************************************************************************
 * Name: QuizziPedia::Front-End::Models::ErrorInfoModel;
 * Description: rappresenta le informazioni di un errore che si è verificato eseguendo una determinata operazione;
 *
 * Relations with other classes:
 * + AuthService
 * + SearchService
 * + LangService
 * + QuizService
 * + StatisticsService
 * + QuestionsService
 * + UserDetailsService
 *
 * Creation data: 28-04-2016;
 * Author: <NAME>;
 * License: MIT.
 ********************************************************************************
 * Updates history
 *-------------------------------------------------------------------------------
 * ID: ErrorInfoModel_20160427
 * Update data: 28-04-2016
 * Description: Creato il model;
 * Author: <NAME>.
 *-------------------------------------------------------------------------------
 *******************************************************************************/

app.factory('ErrorInfoModel', ErrorInfoModel);

    function ErrorInfoModel(errorCode, errorMessage, errorTitle) {
        var errorCode_ = errorCode;
        var errorMessage_ = errorMessage;
        var errorTitle_ = errorTitle;

        var methods = {
            ErrorInfoModel: ErrorInfoModel,
            getCode: getCode,
            getMessage: getMessage,
            getTitle: getTitle
        };

        function getCode(){
            return this.errorCode_;
        }

        function getMessage(){
            return this.errorMessage_;
        }

        function getTitle(){
            return this.errorTitle_;
        }

        return ErrorInfoModel;

    }<commit_msg>Commit errorInfoModel<commit_after>/*******************************************************************************
 * Name: QuizziPedia::Front-End::Models::ErrorInfoModel;
 * Description: rappresenta le informazioni di un errore che si è verificato eseguendo una determinata operazione;
 *
 * Relations with other classes:
 * + AuthService
 * + SearchService
 * + LangService
 * + QuizService
 * + StatisticsService
 * + QuestionsService
 * + UserDetailsService
 *
 * Creation data: 28-04-2016;
 * Author: <NAME>;
 * License: MIT.
 ********************************************************************************
 * Updates history
 *-------------------------------------------------------------------------------
 * ID: ErrorInfoModel_20160427
 * Update data: 28-04-2016
 * Description: Creato il model;
 * Author: <NAME>.
 *-------------------------------------------------------------------------------
 *******************************************************************************/

app.factory("ErrorInfoModel", ErrorModel);

    function ErrorModel() {

    var ErrorInfoModel = function(errorCode, errorMessage, errorTitle) {
        var errorCode_ = errorCode;
        var errorMessage_ = errorMessage;
        var errorTitle_ = errorTitle;


        this.getCode = function () {
            return errorCode_;
        };

        this.getMessage = function () {
            return errorMessage_;
        };

        this.getTitle = function () {
            return errorTitle_;
        };
    };

        return ErrorInfoModel;
};
{'fraction_non_alphanumeric': 0.3197002809865751, 'fraction_numerical': 0.014985950671245708, 'mean_word_length': 2.2560975609756095, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '1345219', 'n_tokens_mistral': 755, 'n_tokens_neox': 685, 'n_words': 170}