GB_Error::get_error_message
Get single error message.
This will get the first message available for the code. If no code is given then the first code available will be used.
Signature
public function get_error_message([string
$code = ''] )
Parameters
$code
— string
Optional. Error code to retrieve message.
Returns
- string
Violations
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
150 | 12 | error | Method name "GB_Error::get_error_message" is not in camel caps format |
152 | 9 | error | Inline control structures are not allowed |
155 | 9 | error | Inline control structures are not allowed |