package rpn.basic;

public interface CalcErr {

	int 
		Underflow = 0,
		Overflow = 1,
		Type = 2,
		Generic = 3,
		Undefined = 4,
		UnmatchedRight = 5,
		UnmatchedCurl = 6,
		UnmatchedLocal = 7,
		UnmatchedDims = 8,
		InvalidDim = 9,
		Range = 10,
		InvalidInput = 11,
		Vector = 12,
		RealRange = 13,
		ZeroDiv = 14,
		ExecUnderflow = 15,
		NoCurrentPoint = 16,
		FileNotFound = 17,
		End = 1000;
	
	
	String Name[] = {
		"Stack underflow",
		"Overflow",
		"Invalid type",
		"Generic",
		"Undefined",
		"Unmatched ]",
		"Unmatched }",
		"Unmatched `local'",
		"Unmatched dimensions",
		"Invalid dimension",
		"Index out of range",
		"Invalid input",
		"Invalid vector entry",
		"Argument out of range",
		"Division by zero",
		"Execution underflow",
		"No current point",
		"File not found",
		"End"
	};
	
	
}