about summary refs log tree commit diff
path: root/kittybox-rs/util/src/lib.rs
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2022-07-10 14:52:43 +0300
committerVika <vika@fireburn.ru>2022-07-10 14:52:43 +0300
commit3a7af37527c7752b42d518ec719a479254d6ba96 (patch)
tree5a51a8167d31330bd6af0f82858160a9e2759c6c /kittybox-rs/util/src/lib.rs
parent25183f2ed7802375f15cb0069af7bee6dd2c7afd (diff)
downloadkittybox-3a7af37527c7752b42d518ec719a479254d6ba96.tar.zst
micropub: move MicropubError into kittybox-util
Looks like this shared data structure will be useful to me later when
splitting off the media endpoint into its own crate.
Diffstat (limited to 'kittybox-rs/util/src/lib.rs')
-rw-r--r--kittybox-rs/util/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/kittybox-rs/util/src/lib.rs b/kittybox-rs/util/src/lib.rs
index bc41689..debe589 100644
--- a/kittybox-rs/util/src/lib.rs
+++ b/kittybox-rs/util/src/lib.rs
@@ -16,3 +16,6 @@ pub struct MicropubChannel {
     /// The channel's user-friendly name used to recognize it in lists.
     pub name: String,
 }
+
+pub mod error;
+pub use error::{ErrorType, MicropubError};