This book assumes uncorrelated errors, but this can be generalized to considered correlated /structured errors. Examples include:
Each of these examples has inspired text book length treatments!