Several $System.OBJ methods have ByRef errorlog argument:
Compile(ByRef classes As %String = "", qspec As %String = "", ByRef errorlog As %String, recurse As %Boolean = 0)
ImportDir(dir As %String = "", wildcards As %String, qspec As %String = "", ByRef errorlog As %String, recurse As %Boolean = 0, ByRef imported As %String, listonly As %Boolean, ByRef selectedlist As %String)
What's the best approach of working with errorlog?
Do you convert it to status? If so - how? Manual iteration over local?
Is there some system method to convert it into %Status?