diff --git a/corelib/src/terrapipe.rs b/corelib/src/terrapipe.rs index 83c518a8..e7b363ee 100644 --- a/corelib/src/terrapipe.rs +++ b/corelib/src/terrapipe.rs @@ -57,7 +57,7 @@ pub mod responses { /// `3` Invalid Metaframe response pub static ref RESP_INVALID_MF: Vec = "*!3!0!0\n".as_bytes().to_owned(); /// `4` ArgumentError frame response - pub static ref RESP_ArgumentError: Vec = "*!4!0!0\n".as_bytes().to_owned(); + pub static ref RESP_ARG_ERROR: Vec = "*!4!0!0\n".as_bytes().to_owned(); /// `5` Internal server error response pub static ref RESP_SERVER_ERROR: Vec = "*!5!0!0\n".as_bytes().to_owned(); } @@ -216,7 +216,7 @@ impl RespBytes for RespCodes { NotFound => RESP_NOT_FOUND.to_owned(), OverwriteError => RESP_OVERWRITE_ERROR.to_owned(), InvalidMetaframe => RESP_INVALID_MF.to_owned(), - ArgumentError => RESP_ArgumentError.to_owned(), + ArgumentError => RESP_ARG_ERROR.to_owned(), ServerError => RESP_SERVER_ERROR.to_owned(), OtherError(e) => match e { Some(e) => {