Update documentation for error messages