Skip to content

Commit

Permalink
feat(ffi): add FrameRecorderNotEmpty conversion into InternalError
Browse files Browse the repository at this point in the history
  • Loading branch information
Kay Grewe authored and Kay Grewe committed May 22, 2024
1 parent 76e5e1d commit 049e7ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ffi/rodbus-ffi/src/helpers/conversions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ impl From<rodbus::RequestError> for ffi::RequestError {
rodbus::RequestError::Exception(ex) => ex.into(),
rodbus::RequestError::Io(_) => ffi::RequestError::IoError,
rodbus::RequestError::BadResponse(_) => ffi::RequestError::BadResponse,
rodbus::RequestError::FrameRecorderNotEmpty => ffi::RequestError::InternalError,
}
}
}
Expand Down

0 comments on commit 049e7ea

Please sign in to comment.