```\nfunction _throwError(RecoverError error) private pure {\n    if (error == RecoverError.NoError) {\n        return; // no error: do nothing\n    } else if (error == RecoverError.InvalidSignature) {\n        revert("ECDSA: invalid signature");\n    } else if (error == RecoverError.InvalidSignatureLength) {\n        revert("ECDSA: invalid signature length");\n    } else if (error == RecoverError.InvalidSignatureS) {\n        revert("ECDSA: invalid signature 's' value");\n    }\n}\n```\n