pub fn provider_error_message(
message: &str,
status: Option<u16>,
body: Option<&Value>,
prefix: Option<&str>,
) -> StringExpand description
pi’s formatProviderError: the SDK message, or the status and body when the
message does not already include the error body. With a prefix, either form
reads <prefix> (<status>): <text>. Without one, a body reads
<status>: <body>.