Beispiel #1
0
        public void AddError(string code, string description, Exception exception)
        {
            ErrorObject errorObject = new ErrorObject(code, description, false, exception);

            Errors.Add(errorObject);
        }
Beispiel #2
0
        public void AddError(string code, string description, string message = null)
        {
            ErrorObject errorObject = new ErrorObject(code, description, false, message);

            Errors.Add(errorObject);
        }
Beispiel #3
0
        public ErrorView(string code, string description, bool isSoft, Exception exception)
        {
            ErrorObject errorObject = new ErrorObject(code, description, isSoft, exception);

            Errors.Add(errorObject);
        }
Beispiel #4
0
        public ErrorView(string code, string description, bool isSoft, string message = null)
        {
            ErrorObject errorObject = new ErrorObject(code, description, isSoft, message);

            Errors.Add(errorObject);
        }
Beispiel #5
0
        public ErrorView(string code, string description, string message)
        {
            ErrorObject errorObject = new ErrorObject(code, description, false, message);

            Errors.Add(errorObject);
        }
Beispiel #6
0
        public ErrorView(string code, string description)
        {
            ErrorObject errorObject = new ErrorObject(code, description);

            Errors.Add(errorObject);
        }