@@ -31,27 +31,27 @@ impl std::fmt::Display for WrapperErrorKind {
3131 fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
3232 match self {
3333 WrapperErrorKind :: WrongParamSize => {
34- write ! ( f, "parameter provided is of the wrong size" )
34+ write ! ( f, "Parameter provided is of the wrong size. " )
3535 }
3636 WrapperErrorKind :: ParamsMissing => {
37- write ! ( f, "some of the required parameters were not provided" )
37+ write ! ( f, "Some of the required parameters were not provided. " )
3838 }
3939 WrapperErrorKind :: InconsistentParams => write ! (
4040 f,
41- "the provided parameters have inconsistent values or variants"
41+ "The provided parameters have inconsistent values or variants. "
4242 ) ,
4343 WrapperErrorKind :: UnsupportedParam => write ! (
4444 f,
45- "the provided parameter is not yet supported by the library"
45+ "The provided parameter is not yet supported by the library. "
4646 ) ,
4747 WrapperErrorKind :: InvalidParam => {
48- write ! ( f, "the provided parameter is invalid for that type." )
48+ write ! ( f, "The provided parameter is invalid for that type." )
4949 }
50- WrapperErrorKind :: WrongValueFromTpm => write ! ( f, "the TPM returned an invalid value." ) ,
51- WrapperErrorKind :: MissingAuthSession => write ! ( f, "Missing authorization session" ) ,
52- WrapperErrorKind :: InvalidHandleState => write ! ( f, "Invalid handle state" ) ,
50+ WrapperErrorKind :: WrongValueFromTpm => write ! ( f, "The TPM returned an invalid value." ) ,
51+ WrapperErrorKind :: MissingAuthSession => write ! ( f, "Missing authorization session. " ) ,
52+ WrapperErrorKind :: InvalidHandleState => write ! ( f, "Invalid handle state. " ) ,
5353 WrapperErrorKind :: InternalError => {
54- write ! ( f, "an unexpected error occurred within the crate" )
54+ write ! ( f, "An unexpected error occurred within the crate. " )
5555 }
5656 }
5757 }
0 commit comments