diff options
author | Katharina Fey <kookie@spacekookie.de> | 2018-07-09 10:58:26 +0200 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2018-07-09 10:58:26 +0200 |
commit | 232c9d1b58e2f01ed12280a9fcada6c0641519d6 (patch) | |
tree | 70b079c659027c4ce64b36b5e2812c19758ca8f5 /lockchain-core/src | |
parent | 99ccbd7ddc1917dc2c984b046e250bf74e0aa2d3 (diff) |
Restoring the API handlers again, making it all work with the new
Error system (all stubs for now)
Diffstat (limited to 'lockchain-core/src')
-rw-r--r-- | lockchain-core/src/errors/mod.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lockchain-core/src/errors/mod.rs b/lockchain-core/src/errors/mod.rs index d6347a1..5cfd944 100644 --- a/lockchain-core/src/errors/mod.rs +++ b/lockchain-core/src/errors/mod.rs @@ -22,6 +22,11 @@ use std::fmt::{Display, Formatter, Result}; #[derive(Debug, Serialize, Deserialize)] pub enum Error { + /// A common "unknown" type for errors + /// that can't be associated with a type or + /// simply need to be stubbed until more + /// information is available. + Unknown, /// A basic vault operation error Vault(VaultError), /// Errors occuring during authentication |