Abstract pack method to be implemented by subclasses
@override Uint8List pack() { return packMessage({'type': 'error', 'text': text}); }