WrappedFileHandler
loreline.translation.WrappedFileHandler (Class)
Result of TranslationFormats.wrap():
handleris the wrapped file handler that adds alternate-format lookups.lastError()returns the most recent converter error captured during this wrap's lifetime (or null). Caller reads after dispatch completes.
Defined as a class (not a typedef) because Haxe Lua wraps anonymous-struct
function fields in function(_, ...) return underlying(...) end (the _
eats an implicit self arg), which breaks direct function-style invocation.
Class fields don't get that treatment.
Instance Members
handler: loreline.ImportsFileHandlerlastError(): Null<loreline.Error>| Returns |
|---|
| Null<loreline.Error> |
new(handler: loreline.ImportsFileHandler, lastError: Function): Void| Name | Type |
|---|---|
handler |
loreline.ImportsFileHandler |
lastError |
Function |