Skip to content

Instantly share code, notes, and snippets.

@Restuta
Created June 26, 2013 22:24
Show Gist options
  • Save Restuta/5872291 to your computer and use it in GitHub Desktop.
Save Restuta/5872291 to your computer and use it in GitHub Desktop.
private const string ErrorPrifix = "Error, ";
public const string DescriptionException = "Unexpected error occured.";
public const string DescriptionArgumentNullException = ErrorPrifix + "Attemp to access a null reference.";
public const string DescriptionArgumentOutOfRangeException = ErrorPrifix + "the value of an argument is outside the allowable range of values as defined by the invoked method.";
public const string DescriptionFileNotFoundException = ErrorPrifix + "Failed to find file.";
public const string DescriptionRankException = ErrorPrifix + "Error, An array with the wrong number of dimensions is passed to a method.";
public const string DescriptionInvalidCastException = ErrorPrifix + "invalid casting or explicit conversion.";
public const string DescriptionFormatException = ErrorPrifix + "the format of an argument does not meet the parameter specifications of the invoked method.";
public const string Descripti
@FoC-
Copy link

FoC- commented Jul 2, 2013

DescriptionRankException = "Error, Error, ..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment