<commit_before>﻿using System;
using System.Collections.Generic;
using System.Dynamic;

namespace StandardExceptions {
	public class UnsuccessfulException : UnprocessableEntityException {
		public new const string DefaultMessage = "The requested operation was not successful.";
		public UnsuccessfulException (string aMessage=DefaultMessage, Exception aInnerException=null, int aStatus = DefaultStatus) : base (aMessage,aInnerException,aStatus) {
		}
	}
	
	public class ValidationUnsuccessfulException : UnsuccessfulException {
		public new const string DefaultMessage = "The requested operation was not successful due to validation errors.";
		public Dictionary<string, string> Errors { get; set; } = new Dictionary<string, string>();
		public ValidationUnsuccessfulException (string aMessage=DefaultMessage, Exception aInnerException=null, int aStatus = DefaultStatus) : base (aMessage,aInnerException,aStatus) {
		}
	}
			
	public class UnknownException : StandardException {
		public new const string DefaultMessage = "An unidentifiable error occurred.";
		public UnknownException (string aMessage=DefaultMessage, Exception aInnerException=null, int aStatus = DefaultStatus) : base (aMessage,aInnerException,aStatus) {
		}
	}
	
	public class UserErrorException : StandardException {
		public new const string DefaultMessage = "The request was not processed due to a syntax error.";
		public UserErrorException (string aMessage=DefaultMessage, Exception aInnerException=null, int aStatus = 400) : base (aMessage,aInnerException,aStatus) {
		}
	}
	
	public class NoNetworkException : HttpException {
		public new const string DefaultMessage = "The server could not be reached or did not respond.";
		public const int DefaultStatus = 410;
		public NoNetworkException (string aMessage=DefaultMessage, Exception aInnerException=null, int aStatus = DefaultStatus) : base (aMessage,aInnerException,aStatus) {
		}
	}

	public class AssumptionException : StandardException {
		public new const string DefaultMessage = "An assumption was not true.";
		public AssumptionException (string aMessage=DefaultMessage, Exception aInnerException=null, int aStatus = DefaultStatus) : base (aMessage,aInnerException,aStatus) {
		}
	}
}
<commit_msg>ViewDocketsPageViewModel.cs more reliant on paginator for state<commit_after>﻿using System;
using System.Collections.Generic;
using System.Dynamic;

namespace StandardExceptions {
	public class UnsuccessfulException : UnprocessableEntityException {
		public new const string DefaultMessage = "The requested operation was not successful.";
		public UnsuccessfulException (string aMessage=DefaultMessage, Exception aInnerException=null, int aStatus = DefaultStatus) : base (aMessage,aInnerException,aStatus) {
		}
	}
	
	public class ValidationUnsuccessfulException : UnsuccessfulException {
		public new const string DefaultMessage = "The requested operation was not successful due to validation errors.";
		public Dictionary<string, string> Errors { get; set; } = new Dictionary<string, string>();
		public ValidationUnsuccessfulException (string aMessage=DefaultMessage, Exception aInnerException=null, int aStatus = DefaultStatus) : base (aMessage,aInnerException,aStatus) {
		}
	}
			
	public class UnknownException : StandardException {
		public new const string DefaultMessage = "An unidentifiable error occurred.";
		public UnknownException (string aMessage=DefaultMessage, Exception aInnerException=null, int aStatus = DefaultStatus) : base (aMessage,aInnerException,aStatus) {
		}
	}
	
	public class UserErrorException : StandardException {
		public new const string DefaultMessage = "The request was not processed due to a syntax error.";
		public UserErrorException (string aMessage=DefaultMessage, Exception aInnerException=null, int aStatus = 400) : base (aMessage,aInnerException,aStatus) {
		}
	}
	
	public class NoNetworkException : HttpException {
		public new const string DefaultMessage = "The server could not be reached or did not respond.";
		public const int DefaultStatus = 410;
		public NoNetworkException (string aMessage=DefaultMessage, Exception aInnerException=null, int aStatus = DefaultStatus) : base (aMessage,aInnerException,aStatus) {
		}
	}

	public class AssumptionException : StandardException {
		public new const string DefaultMessage = "An assumption was not true.";
		public AssumptionException (string aMessage=DefaultMessage, Exception aInnerException=null, int aStatus = DefaultStatus) : base (aMessage,aInnerException,aStatus) {
		}
	}
	
	public class ReentrantException : StandardException {
		public new const string DefaultMessage = "Operation cannot be re-entered until the original call has returned";
		public ReentrantException (string aMessage=DefaultMessage, Exception aInnerException=null, int aStatus = DefaultStatus) : base (aMessage,aInnerException,aStatus) {
		}
	}
}

{'fraction_non_alphanumeric': 0.0706342668863262, 'fraction_numerical': 0.002471169686985173, 'mean_word_length': 6.090510948905109, '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': '2765987', 'n_tokens_mistral': 1274, 'n_tokens_neox': 1192, 'n_words': 411}