Issue #3159528 by jameszhang023, jungle, longwave: Fix typos: "exeption|gaurd|ouptut|withut|defintion" in core (cherry picked from commit 38d02d6e) (cherry picked from commit e8afa49a)