We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ffd319 commit a19c6f6Copy full SHA for a19c6f6
bridge/svix-bridge-plugin-queue/src/error.rs
@@ -2,7 +2,6 @@ pub use omniqueue::QueueError;
2
use svix_bridge_types::svix;
3
4
pub enum Error {
5
- Payload(String),
6
Json(serde_json::Error),
7
Queue(QueueError),
8
Svix(svix::error::Error),
@@ -37,7 +36,6 @@ impl From<String> for Error {
37
36
impl From<Error> for std::io::Error {
38
fn from(value: Error) -> Self {
39
match value {
40
- Error::Payload(e) => std::io::Error::new(std::io::ErrorKind::Other, e),
41
Error::Json(e) => std::io::Error::new(std::io::ErrorKind::Other, e),
42
Error::Queue(e) => std::io::Error::new(std::io::ErrorKind::Other, e),
43
Error::Svix(e) => std::io::Error::new(std::io::ErrorKind::Other, e),
0 commit comments