Sign in
apache
/
plc4x
/
refs/heads/feat/rust-s7-implementation
/
.
/
plc4x-rust
/
src
/
error.rs
blob: 40b5375c6f332e003c47ca7dac4c74f2f60abbea [
file
] [
log
] [
blame
]
use
thiserror
::
Error
;
#[
derive
(
Error
,
Debug
)]
pub
enum
Error
{
#[
error
(
"Protocol error: {0}"
)]
Protocol
(
String
),
#[
error
(
"Connection error: {0}"
)]
Connection
(
String
),
#[
error
(
"Parse error: {0}"
)]
Parse
(
String
),
}