Improve error messages for invalid `extends`
Error messages for
extends are not clear enough.
The current error message is:
unknown key in extends.
unknown key in extends with
invalid extends in line #LINE_NUMBER, undefined parent where
#LINE_NUMBER is the number of the line where the error surfaced first.