42a6ac4315
In this CL, I run plugin code that responds to a request in an error zone. The bulk of this change though is the tests that verify how we handle asynchronous and synchronous thrown errors. I separate some shared code from plugin_server_test into a shared lint rules file and a base class. Then a second test is introduced with a few error cases. Change-Id: I4e252ae0d3bec0cf6625c0044681677fba3132bd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/384140 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>