Stores the specified P6ERR value in the message.
This can be retrieved by the receiver using the p6IMessage::getErr() method. If no error is set, the default value of eOk will be returned by getErr().