Changes error type in lists