From d8a4207748d3b9a3345da90ab73513a096c12004 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sat, 5 Dec 2020 18:24:36 +0100 Subject: [PATCH] Make the error messages more specific In case this does ever come up. --- src/wine-host/bridges/vst3-impls.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wine-host/bridges/vst3-impls.cpp b/src/wine-host/bridges/vst3-impls.cpp index b169063e..d52d8cc6 100644 --- a/src/wine-host/bridges/vst3-impls.cpp +++ b/src/wine-host/bridges/vst3-impls.cpp @@ -24,10 +24,12 @@ tresult PLUGIN_API YaPluginFactoryHostImpl::createInstance(Steinberg::FIDString /*cid*/, Steinberg::FIDString /*_iid*/, void** /*obj*/) { - throw std::runtime_error("Unexpected call to 'createInstance()'"); + throw std::runtime_error( + "Unexpected call to 'IPluginFactory::createInstance()'"); } tresult PLUGIN_API YaPluginFactoryHostImpl::setHostContext(Steinberg::FUnknown* /*context*/) { - throw std::runtime_error("Unexpected call to 'setHostContext()'"); + throw std::runtime_error( + "Unexpected call to 'IPluginFactory3::setHostContext()'"); }