Add better error messages

- Report key when a type cannot be generated for
- Report full key path when the key is not top level