P4::Message
objects contain error or other
diagnostic messages from the
Helix Versioning Engine; retrieve
them by using the P4#messages()
method.
Script writers can test the severity of the messages in order to
determine if the server message consisted of command output
(E_INFO
), warnings, (E_WARN
), or errors
(E_FAILED
/E_FATAL
).
None.
Severity of the message, which is one of the following values:
Value | Meaning |
---|---|
|
No error |
|
Informational message only |
|
Warning message only |
|
Command failed |
|
Severe error; cannot continue. |
Returns the generic class of the error.
Returns the unique ID of the message.
Converts the message into a string.
To facilitate debugging, returns a string that holds a formatted
representation of the entire P4::Message
object.