CSModuleStatusEntry
in package
Tags
Table of Contents
- createStatusEntry() : CSModuleError
- Creates an error instance
- getDescription() : string
- Returns the error description.
- getType() : ModuleStatusType
- Returns the status type for this entry.
Methods
createStatusEntry()
Creates an error instance
public
static createStatusEntry([ModuleStatusType $eType = ModuleStatusType::OK ][, string $sDescription = '' ]) : CSModuleError
Parameters
- $eType : ModuleStatusType = ModuleStatusType::OK
- $sDescription : string = ''
-
The error description
Tags
Return values
CSModuleError —The created error instance
getDescription()
Returns the error description.
public
getDescription() : string
Tags
Return values
string —The error description
getType()
Returns the status type for this entry.
public
getType() : ModuleStatusType
Tags
Return values
ModuleStatusType —The status type of this entry
