From 983037d965fdcdf089b09fa90fac31501defae9e Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 13 May 2022 13:51:34 +0200 Subject: Possibility of different error types for different APIs --- src/api/s3/api_server.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/api/s3/api_server.rs') diff --git a/src/api/s3/api_server.rs b/src/api/s3/api_server.rs index 78a69d53..2bf4a1bc 100644 --- a/src/api/s3/api_server.rs +++ b/src/api/s3/api_server.rs @@ -75,6 +75,7 @@ impl ApiHandler for S3ApiServer { const API_NAME_DISPLAY: &'static str = "S3"; type Endpoint = S3ApiEndpoint; + type Error = Error; fn parse_endpoint(&self, req: &Request) -> Result { let authority = req -- cgit v1.2.3