From 6ab1eb29d593af69aef18ddcfadd171c07aac2ed Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Wed, 25 Nov 2026 03:05:16 -0700 Subject: subscribing to i3 events fully works now Force-Push: yes Change-Id: I3d77977e58a8493513afe481f31c923264b5339d --- src/error.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/error.rs') diff --git a/src/error.rs b/src/error.rs index f7ef553..592e91b 100644 --- a/src/error.rs +++ b/src/error.rs @@ -71,6 +71,12 @@ impl From> for Error { } } +impl From for Error { + fn from(error: json_event_parser::JsonSyntaxError) -> Error { + Error(format!("JSON parsing: {}", error)) + } +} + impl From for Error { fn from(error: rustix::io::Errno) -> Error { Error(format!("Unix system-call: {}", error)) -- cgit 1.4.1