From 1b6ec74748f1182fbfb9b4ce934351b000ccab22 Mon Sep 17 00:00:00 2001 From: Jonathan Davies Date: Thu, 2 Feb 2023 16:16:12 +0000 Subject: error.rs: Corrected error messages to say unexpected scope. --- src/api/k2v/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/k2v/error.rs') diff --git a/src/api/k2v/error.rs b/src/api/k2v/error.rs index 42491466..4eb017ab 100644 --- a/src/api/k2v/error.rs +++ b/src/api/k2v/error.rs @@ -19,7 +19,7 @@ pub enum Error { // Category: cannot process /// Authorization Header Malformed - #[error(display = "Authorization header malformed, expected scope: {}", _0)] + #[error(display = "Authorization header malformed, unexpected scope: {}", _0)] AuthorizationHeaderMalformed(String), /// The object requested don't exists -- cgit v1.2.3