Modules to hold error def and request/query def

This commit is contained in:
Greg Heartsfield 2021-11-21 21:58:16 -06:00
parent 116feace87
commit d81949c31b
2 changed files with 10 additions and 0 deletions

9
src/error.rs Normal file
View 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
View File

@ -0,0 +1 @@
pub struct Request {}