Currently, if you use the relative require option and the plugin you are trying to use does not exist, you get a very cryptic missing path error (because the path can't be resolved, it returns null and require(null) gives this message.
This PR fixes this by explicitly throwing if no path to plugin is found.
Currently, if you use the relative require option and the plugin you are trying to use does not exist, you get a very cryptic
missing path
error (because the path can't be resolved, it returnsnull
andrequire(null)
gives this message.This PR fixes this by explicitly throwing if no path to plugin is found.