mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 12:30:12 +02:00
Make the error messages more specific
In case this does ever come up.
This commit is contained in:
@@ -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()'");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user