mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-18 17:33:56 +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*/,
|
YaPluginFactoryHostImpl::createInstance(Steinberg::FIDString /*cid*/,
|
||||||
Steinberg::FIDString /*_iid*/,
|
Steinberg::FIDString /*_iid*/,
|
||||||
void** /*obj*/) {
|
void** /*obj*/) {
|
||||||
throw std::runtime_error("Unexpected call to 'createInstance()'");
|
throw std::runtime_error(
|
||||||
|
"Unexpected call to 'IPluginFactory::createInstance()'");
|
||||||
}
|
}
|
||||||
|
|
||||||
tresult PLUGIN_API
|
tresult PLUGIN_API
|
||||||
YaPluginFactoryHostImpl::setHostContext(Steinberg::FUnknown* /*context*/) {
|
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