fn on_error(message: String) -> Status
Handle the error packet.
message
A Status representing the result of the operation.
Status
Returns an error with the provided error message.