Home > Class Reference > %SYS namespace > %ZHSLIB.PackageManager.Developer.API.ErrorMessages

%ZHSLIB.PackageManager.Developer.API.ErrorMessages

class %ZHSLIB.PackageManager.Developer.API.ErrorMessages

Method Inventory (Including Private)

Methods (Including Private)

private classmethod Export(pDocName As %String, pSource As %ZHSLIB.PackageManager.Developer.ErrorMessages.MsgFile, Output pSourceControlOutput) as %Status [ Language = objectscript ]
Utility method to export an error message document (with a given name).
classmethod GetMessageFile(pDocName As %String, Output pFileObject As %ZHSLIB.PackageManager.Developer.ErrorMessages.MsgFile) as %Status [ Language = objectscript ]
pDocName is the full document name (including the .LOC extension)
pFileObject is an instance of %ZHSLIB.PackageManager.Developer.ErrorMessages.MsgFile corresponding to the document's content.
@API.Method @Modifier Availability InterSystems
classmethod SaveMessageFile(pDocName As %String, pFileObject As %ZHSLIB.PackageManager.Developer.ErrorMessages.MsgFile, pCompile As %Boolean = 1, Output pConsoleOutput) as %Status [ Language = objectscript ]
pDocName is the full document name (including the .LOC extension)
pFileObject is an instance of %ZHSLIB.PackageManager.Developer.ErrorMessages.MsgFile corresponding to the document's content.
If pCompile is set to 1 (by default, it is), then the file will be compiled after save.
pConsoleOutput is an integer-subscripted array of lines of output from everything that happened.
@API.Method @Modifier Availability InterSystems