With the #terraform 2.0 SDK, diagnostics and crashes have been taken to a WHOLE new level. From a code quality perspective, I can now handle errors SO much cleaner when creating a TF provider.
This is a snippet from a new project from @octopusdeploy coming to beta SOON ;)