// SPDX-FileCopyrightText: Copyright (c) 2017-2024 slowtec GmbH <post@slowtec.de>
// SPDX-License-Identifier: MIT OR Apache-2.0
//! Modbus Error helpers.
use crateFunctionCode;
/// Message to show when a bug has been found during runtime execution.
const REPORT_ISSUE_MSG: &str =
"Please report the issue at `https://github.com/slowtec/tokio-modbus/issues` with a minimal example reproducing this bug.";
/// Create a panic message for `unexpected response code` with `req_code` and `rsp_code`.
pub