`Drupal.throwError` is rethrow the error message. If you are passing String into `Drupal.throwError`, there's no more useful error stack for debugging.
It need not to check param type explicitly but should discourage its usage in our API design.
- Remove String type in JSDoc
- Review patch
User interface changes
- Docs change. Do not affect any code usages.
Data model changes