mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-14 15:09:07 -05:00
Modules to hold error def and request/query def
This commit is contained in:
parent
116feace87
commit
d81949c31b
9
src/error.rs
Normal file
9
src/error.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
//! Error handling.
|
||||
|
||||
use std::result;
|
||||
use thiserror::Error;
|
||||
|
||||
pub type Result<T, E = Error> = result::Result<T, E>;
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
pub enum Error {}
|
1
src/request.rs
Normal file
1
src/request.rs
Normal file
|
@ -0,0 +1 @@
|
|||
pub struct Request {}
|
Loading…
Reference in New Issue
Block a user