View Single Post
07-06-16, 02:38 AM   #10
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
But something like:
Code:
assert(LibStub, "MyLib requires LibStub")
local otherLib = LibStub("OtherLib-1.0") -- second argument is nil, so errors are not silenced
should be enough to tell the user why they did not load. Also, I'm fine providing an embedded package for people who don't like or understand disembedded. I just thought there is maybe a chance for some crazy unsolvable load order if you strip LS and CBH and was unsure if this translates to other libs as lib dependencies as well.
  Reply With Quote