Skip to main content

write_response

Function write_response 

Source
pub(super) fn write_response(
    result: Result<WriteOutcome, WriteError>,
    message: &str,
) -> Result<CreatePostResponse, ApiError>
Expand description

浏览器协议适配:业务拒绝保留 success=false,内部错误使用统一脱敏转换。