Add custom exception class to signal errors during computation which user can fix by changing input parameters.