fn on_error(message: String) -> Status
Expand description

Handle the error packet.

§Arguments

  • message - The error message.

§Returns

A Status representing the result of the operation.

§Errors

Returns an error with the provided error message.