authorization_codes: crate, database, insert one
This commit is contained in:
parent
0b4aeb89cb
commit
471e2fc740
11 changed files with 159 additions and 0 deletions
8
crates/authorization_codes/src/error.rs
Normal file
8
crates/authorization_codes/src/error.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// error
|
||||
#[derive(thiserror::Error)]
|
||||
// the rest
|
||||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
#[error("Database: {0}")]
|
||||
Database(#[from] database::Error),
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue