msg_reject_msg

Function msg_reject_msg 

Source
pub fn msg_reject_msg() -> String
Expand description

Gets the reject message.

This function can only be called in the reject callback.

Traps if:

  • There is no reject message (i.e. if reject_code is 0).
  • The message is not valid UTF-8.