Added nice errors for import

| Q                   | A
| ------------------- | ---
| Bug fix?            | No
| New feature?        | No
| BC breaks?          | No
| Tests pass?         | Yes
| Scenarios pass?     | Yes
| Checkstyle issues?  | No
| Changelog updated?  | No
| Fixed tickets       |
| Doc PR              |