diff options
author | Alex Auvolat <alex@adnab.me> | 2022-05-13 13:51:34 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-05-13 13:51:34 +0200 |
commit | 983037d965fdcdf089b09fa90fac31501defae9e (patch) | |
tree | 716efccaf76d5e165183d550cfc4bcf894482c7d /src/api/s3/api_server.rs | |
parent | e4e1f8f0d60545d81c1082ca5f0194962a4a4f79 (diff) | |
download | garage-983037d965fdcdf089b09fa90fac31501defae9e.tar.gz garage-983037d965fdcdf089b09fa90fac31501defae9e.zip |
Possibility of different error types for different APIs
Diffstat (limited to 'src/api/s3/api_server.rs')
-rw-r--r-- | src/api/s3/api_server.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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<Body>) -> Result<S3ApiEndpoint, Error> { let authority = req |