Skip to content

Commit a19c6f6

Browse files
committed
bridge: Remove unused variant from plugin-queue's Error type
1 parent 0ffd319 commit a19c6f6

File tree

1 file changed

+0
-2
lines changed
  • bridge/svix-bridge-plugin-queue/src

1 file changed

+0
-2
lines changed

bridge/svix-bridge-plugin-queue/src/error.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ pub use omniqueue::QueueError;
22
use svix_bridge_types::svix;
33

44
pub enum Error {
5-
Payload(String),
65
Json(serde_json::Error),
76
Queue(QueueError),
87
Svix(svix::error::Error),
@@ -37,7 +36,6 @@ impl From<String> for Error {
3736
impl From<Error> for std::io::Error {
3837
fn from(value: Error) -> Self {
3938
match value {
40-
Error::Payload(e) => std::io::Error::new(std::io::ErrorKind::Other, e),
4139
Error::Json(e) => std::io::Error::new(std::io::ErrorKind::Other, e),
4240
Error::Queue(e) => std::io::Error::new(std::io::ErrorKind::Other, e),
4341
Error::Svix(e) => std::io::Error::new(std::io::ErrorKind::Other, e),

0 commit comments

Comments
 (0)