From e5f72711c5a17c5db24e209b14f82d426eceb86e Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Thu, 19 Sep 2024 01:25:31 -0400 Subject: Write tests. --- src/error.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/error.rs') diff --git a/src/error.rs b/src/error.rs index 2a6555f..e2128d3 100644 --- a/src/error.rs +++ b/src/error.rs @@ -15,6 +15,7 @@ type BoxedError = Box; // Returns a 500 Internal Server Error to the client. Meant to be used via the // `?` operator; _does not_ return the originating error to the client. +#[derive(Debug)] pub struct InternalError(Id, BoxedError); impl From for InternalError @@ -40,6 +41,7 @@ impl IntoResponse for InternalError { } /// Transient identifier for an InternalError. Prefixed with `E`. +#[derive(Debug)] pub struct Id(BaseId); impl From for Id { -- cgit v1.2.3