--- /dev/null
+// A generic result of type 'T'.\r
+pub type Result<T> = std::result::Result<T, Box<dyn std::error::Error>>;\r
+\r
+#[derive(Debug)]\r
+pub struct Error {\r
+ pub message: String\r
+}\r
+\r
+impl std::fmt::Display for Error {\r
+ fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {\r
+ write!(f, "Error: {}", &self.message)\r
+ }\r
+}\r
+\r
+impl std::error::Error for Error { }
\ No newline at end of file