diff --git a/LatticeDehomogenization/src/ErrorCodes.h b/LatticeDehomogenization/src/ErrorCodes.h
index 218a4c3def2b1e4a5eb52d1dd70c7ce00821b7a7..749a5a86c6e0f2257131d7e9d1763f9a4ee6deb7 100644
--- a/LatticeDehomogenization/src/ErrorCodes.h
+++ b/LatticeDehomogenization/src/ErrorCodes.h
@@ -2,6 +2,7 @@
 #define RETURN_MSG	std::cout << "[Info] Press enter to exit" << std::endl; \
 					std::cin.get()
 #define ERROR_MSG(function, code) std::cout << "[Error](" << function << ") code: " << (int)code << " - " << errorcode2string(code) << std::endl
+#define ERROR_MSG_SUP(function, code, sup) std::cout << "[Error](" << function << ") code: " << (int)code << " - " << errorcode2string(code) << " " << sup << std::endl
 
 enum ErrorCodes {
 	NoError = 0,
@@ -10,6 +11,7 @@ enum ErrorCodes {
 	StrutRadiusNotDefined,
 	CantDetermineLatticeType,
 	LatticeTypeNotDefined,
+	InvalidArgument,
 
 	FailedToMergeCells, FailedToTrimLattice,
 	LatticeIsNull, BoundingBoxIsNull,
@@ -29,6 +31,7 @@ constexpr const char* errorcode2string(const ErrorCodes code)
 	case FailedToTrimLattice:		return "FAILED_TO_TRIM_LATTICE";
 	case LatticeIsNull:				return "LATTICE_IS_NULL";
 	case BoundingBoxIsNull:			return "BOUNDING_BOX_IS_NULL";
+	case InvalidArgument:			return "INVALID_ARGUMENT";
 	default:						return "UNKNOWN_ERROR_OCCURED";
 	}
 }