```\\nfunction recover(\\n    bytes32 hash,\\n    bytes32 r,\\n    bytes32 vs\\n) internal pure returns (address) {\\n    (address recovered, RecoverError error) = tryRecover(hash, r, vs);\\n    _throwError(error);\\n    return recovered;\\n}\\n```\\n