Skip to main content

restored_message_of

Function restored_message_of 

Source
pub(crate) fn restored_message_of<T: TypedExternal>(
    default: impl FnOnce() -> String,
) -> String
Expand description

The message of a restored refusal of a T: the package’s (TypedExternal::RESTORED_ERROR_MESSAGE) when it has one, else miniextendr’s (default).