chore: hoist plugins to root and move main into Details/

Each Details_* plugin and the main Details addon now lives in its own
repo-root folder, matching the Exiles fork-layout convention.
This commit is contained in:
2026-05-25 10:59:28 +02:00
parent 0b0a5004eb
commit 5bb7be4968
421 changed files with 7 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
do
local _detalhes = _G.Details
local addonName, Details222 = ...
local _error = {
["error"] = true,
["errortext"] = ""
}
_error.__index = _error
_error.__newindex = function()
assert(false, "Attempt to modify an read-only object.\nUse object() or object.errortext\n"..debugstack (2, 1 , 0))
return
end
_error.__tostring = function()
return _error.errortext
end
_error.__call = function(_this)
print(_this.errortext)
end
function _detalhes:NewError (_msg)
local this_error = {}
this_error.errortext = _msg
setmetatable(this_error, _error)
return this_error
end
end