diff options
author | Vika <vika@fireburn.ru> | 2022-07-10 14:52:43 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-07-10 14:52:43 +0300 |
commit | 3a7af37527c7752b42d518ec719a479254d6ba96 (patch) | |
tree | 5a51a8167d31330bd6af0f82858160a9e2759c6c /kittybox-rs/util/src/lib.rs | |
parent | 25183f2ed7802375f15cb0069af7bee6dd2c7afd (diff) | |
download | kittybox-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.rs | 3 |
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}; |